From b6f427bf5ef9848bfc4a3e190890e3a33ff545d7 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 12 Aug 2012 17:20:46 +0200 Subject: [PATCH] fix OpenMW not exiting when the window is closed (alt f4 etc) --- apps/openmw/mwrender/renderingmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index 7180fea66..2ff18fbeb 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -775,6 +775,7 @@ void RenderingManager::windowResized(Ogre::RenderWindow* rw) void RenderingManager::windowClosed(Ogre::RenderWindow* rw) { + Ogre::Root::getSingleton ().queueEndRendering (); } bool RenderingManager::waterShaderSupported()