From 49b82663e28b8ecad5cecbfb07bee5388126c426 Mon Sep 17 00:00:00 2001 From: Mathias Froehlich <Mathias.Froehlich@web.de> Date: Sat, 29 Oct 2011 14:11:39 +0200 Subject: [PATCH] Forward resize events to the stats handler. --- src/Main/FGEventHandler.cxx | 1 + 1 file changed, 1 insertion(+) 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