- Timestamp:
- Feb 12, 2011, 4:28:53 PM (14 years ago)
- Location:
- code/trunk/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/Core.cc
r7427 r7868 251 251 graphicsManager_->upgradeToGraphics(); 252 252 } 253 catch (const InitialisationFailedException& e) 254 { 255 // Exit the application if the Ogre config dialog was canceled 256 COUT(1) << Exception::handleMessage() << std::endl; 257 exit(EXIT_FAILURE); 258 } 253 259 catch (...) 254 260 { … … 259 265 // and reloaded between throw and catch (access violation in MSVC). 260 266 // That's why we abort completely and only display the exception. 261 COUT( 0) << "An exception occurred during upgrade to graphics. "267 COUT(1) << "An exception occurred during upgrade to graphics. " 262 268 << "That is unrecoverable. The message was:" << endl 263 269 << Exception::handleMessage() << endl; -
code/trunk/src/libraries/core/GraphicsManager.cc
r7284 r7868 305 305 if (!ogreRoot_->restoreConfig()) 306 306 if (!ogreRoot_->showConfigDialog()) 307 ThrowException(InitialisationFailed, "OGRE graphics configuration dialogue failed.");307 ThrowException(InitialisationFailed, "OGRE graphics configuration dialogue canceled."); 308 308 309 309 CCOUT(4) << "Creating render window" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.