moved libs to submodules, small fix in Node move ctor
This commit is contained in:
@@ -125,11 +125,11 @@ void App::update(float dt)
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
for (auto& n : layout)
|
||||
{
|
||||
auto box = n.m_clip;
|
||||
glScissor(box.x, height - box.y - box.w, box.z, box.w);
|
||||
|
||||
if (n.m_widget)
|
||||
{
|
||||
auto box = n.m_widget->clip;
|
||||
glScissor(box.x, height - box.y - box.w, box.z, box.w);
|
||||
n.m_widget->draw();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user