diff --git a/src/Magnum/Platform/ScreenedApplication.hpp b/src/Magnum/Platform/ScreenedApplication.hpp index f7bad77d4..da2a7b139 100644 --- a/src/Magnum/Platform/ScreenedApplication.hpp +++ b/src/Magnum/Platform/ScreenedApplication.hpp @@ -75,7 +75,7 @@ template BasicScreenedApplication& BasicScreened template void BasicScreenedApplication::globalViewportEvent(const Vector2i&) {} template void BasicScreenedApplication::viewportEvent(const Vector2i& size) { - /* Call viewport event after all other (because of framebuffer resizing) */ + /* Call global event before all other (to resize framebuffer first) */ globalViewportEvent(size); for(BasicScreen& s: *this) s.viewportEvent(size); @@ -86,7 +86,7 @@ template void BasicScreenedApplication::drawEven for(BasicScreen* s = screens().last(); s; s = s->nextNearerScreen()) if(s->propagatedEvents() & Implementation::PropagatedScreenEvent::Draw) s->drawEvent(); - /* Call global event after all other (because of buffer swapping) */ + /* Call global event after all other (to swap buffers last) */ globalDrawEvent(); }