[Orxonox-commit 556] r3098 - trunk/src/orxonox
rgrieder at orxonox.net
rgrieder at orxonox.net
Thu May 28 01:02:42 CEST 2009
Author: rgrieder
Date: 2009-05-28 01:02:42 +0200 (Thu, 28 May 2009)
New Revision: 3098
Modified:
trunk/src/orxonox/GraphicsManager.cc
Log:
Either my box or Oli's gets screwed, but since it only didn't work on my box, we're going back to the old solution.
Modified: trunk/src/orxonox/GraphicsManager.cc
===================================================================
--- trunk/src/orxonox/GraphicsManager.cc 2009-05-27 21:13:16 UTC (rev 3097)
+++ trunk/src/orxonox/GraphicsManager.cc 2009-05-27 23:02:42 UTC (rev 3098)
@@ -141,6 +141,10 @@
delete this->ogreWindowEventListener_;
}
+ // destroy render window
+ Ogre::RenderSystem* renderer = this->ogreRoot_->getRenderSystem();
+ renderer->destroyRenderWindow("Orxonox");
+
// unload all compositors
Ogre::CompositorManager::getSingleton().removeAll();
More information about the Orxonox-commit
mailing list