Changeset 7870 for code/trunk/src/libraries/core/GraphicsManager.cc
- Timestamp:
- Feb 12, 2011, 7:24:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/GraphicsManager.cc
r7868 r7870 54 54 #include "ConfigValueIncludes.h" 55 55 #include "CoreIncludes.h" 56 #include "Core.h" 56 57 #include "Game.h" 57 58 #include "GameMode.h" … … 303 304 CCOUT(4) << "Configuring Renderer" << std::endl; 304 305 305 if (!ogreRoot_->restoreConfig()) 306 if (!ogreRoot_->restoreConfig() || Core::getInstance().getOgreConfigTimestamp() > Core::getInstance().getLastLevelTimestamp()) 307 { 306 308 if (!ogreRoot_->showConfigDialog()) 307 309 ThrowException(InitialisationFailed, "OGRE graphics configuration dialogue canceled."); 310 else 311 Core::getInstance().updateOgreConfigTimestamp(); 312 } 308 313 309 314 CCOUT(4) << "Creating render window" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.