Changeset 7992 for code/branches/usability/src/libraries
- Timestamp:
- Feb 27, 2011, 6:01:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/src/libraries/core/GraphicsManager.cc
r7989 r7992 463 463 bool GraphicsManager::isFullScreen() const 464 464 { 465 Ogre::ConfigOptionMap& options = ogreRoot_->getRenderSystem()->getConfigOptions(); 466 if (options.find("Full Screen") != options.end()) 467 { 468 if (options["Full Screen"].currentValue == "Yes") 469 return true; 470 else 471 return false; 472 } 473 else 474 { 475 COUT(0) << "Could not find 'Full Screen' render system option. Fix This!!!" << std::endl; 476 return false; 477 } 465 return this->renderWindow_->isFullScreen(); 478 466 } 479 467
Note: See TracChangeset
for help on using the changeset viewer.