- Timestamp:
- May 25, 2015, 7:20:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/GraphicsManager.cc
r10392 r10479 281 281 orxout(internal_info) << "GraphicsManager: Configuring Renderer" << endl; 282 282 283 bool updatedConfig = Core::getInstance().get OgreConfigTimestamp() > Core::getInstance().getLastLevelTimestamp();283 bool updatedConfig = Core::getInstance().getConfig()->getOgreConfigTimestamp() > Core::getInstance().getConfig()->getLastLevelTimestamp(); 284 284 if (updatedConfig) 285 285 orxout(user_info)<< "Ogre config file has changed, but no level was started since then. Displaying config dialogue again to verify the changes." << endl; … … 290 290 ThrowException(InitialisationFailed, "OGRE graphics configuration dialogue canceled."); 291 291 else 292 Core::getInstance(). updateOgreConfigTimestamp();292 Core::getInstance().getConfig()->updateOgreConfigTimestamp(); 293 293 } 294 294 … … 516 516 GraphicsManager::getInstance().getRenderWindow()->setFullscreen(fullscreen, width, height); 517 517 this->ogreRoot_->saveConfig(); 518 Core::getInstance(). updateOgreConfigTimestamp();518 Core::getInstance().getConfig()->updateOgreConfigTimestamp(); 519 519 // Also reload the input devices 520 520 InputManager::getInstance().reload(); … … 534 534 //this->ogreRoot_->getRenderSystem()->reinitialise(); // can't use this that easily, because it recreates the render window, invalidating renderWindow_ 535 535 this->ogreRoot_->saveConfig(); 536 Core::getInstance(). updateOgreConfigTimestamp();536 Core::getInstance().getConfig()->updateOgreConfigTimestamp(); 537 537 } 538 538 … … 550 550 //this->ogreRoot_->getRenderSystem()->reinitialise(); // can't use this that easily, because it recreates the render window, invalidating renderWindow_ 551 551 this->ogreRoot_->saveConfig(); 552 Core::getInstance(). updateOgreConfigTimestamp();552 Core::getInstance().getConfig()->updateOgreConfigTimestamp(); 553 553 } 554 554
Note: See TracChangeset
for help on using the changeset viewer.