]> git.mxchange.org Git - flightgear.git/commitdiff
Forward resize events to the stats handler.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 29 Oct 2011 12:11:39 +0000 (14:11 +0200)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 29 Oct 2011 12:12:08 +0000 (14:12 +0200)
src/Main/FGEventHandler.cxx

index 875da4b3fc469780210024cc5e331ef25381ff0a..65777a623bcc1579831d7351754891ec58b0dc97 100644 (file)
@@ -242,6 +242,7 @@ bool FGEventHandler::handle(const osgGA::GUIEventAdapter& ea,
         CameraGroup::getDefault()->resized();
         if (resizable)
           globals->get_renderer()->resize(ea.getWindowWidth(), ea.getWindowHeight());
+        statsHandler->handle(ea, us);
       #ifdef SG_MAC
         // work around OSG Cocoa-Viewer issue with resize event handling,
         // where resize events are queued up, then dispatched in a batch, with