cleanup and framebuffer creation
This commit is contained in:
@@ -81,9 +81,9 @@ namespace OpenEngine {
|
||||
{
|
||||
OE_PROFILE_SCOPE("Layers OnEvent");
|
||||
for (auto it = layer_stack.end(); it != layer_stack.begin();) {
|
||||
(*--it)->OnEvent(event);
|
||||
if (event.handled)
|
||||
break;
|
||||
(*--it)->OnEvent(event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user