From: Mathias Froehlich Date: Sat, 29 Oct 2011 12:11:39 +0000 (+0200) Subject: Forward resize events to the stats handler. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49b82663e28b8ecad5cecbfb07bee5388126c426;p=flightgear.git Forward resize events to the stats handler. --- diff --git a/src/Main/FGEventHandler.cxx b/src/Main/FGEventHandler.cxx index 875da4b3f..65777a623 100644 --- a/src/Main/FGEventHandler.cxx +++ b/src/Main/FGEventHandler.cxx @@ -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