1
0
Fork 0

Forward resize events to the stats handler.

This commit is contained in:
Mathias Froehlich 2011-10-29 14:11:39 +02:00
parent facf4c12d4
commit 49b82663e2

View 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