Changeset 2571
- Timestamp:
- Jan 6, 2009, 2:23:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/gamestates/GSGraphics.cc
r2549 r2571 200 200 delete this->ogreRoot_; 201 201 202 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32202 //#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32 203 203 // delete the ogre log and the logManager (since we have created it). 204 204 this->ogreLogger_->getDefaultLog()->removeListener(this); 205 205 this->ogreLogger_->destroyLog(Ogre::LogManager::getSingleton().getDefaultLog()); 206 206 delete this->ogreLogger_; 207 #endif207 //#endif 208 208 209 209 delete graphicsEngine_; … … 277 277 278 278 // TODO: LogManager doesn't work on oli platform. The why is yet unknown. 279 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32279 //#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32 280 280 // create a new logManager 281 281 ogreLogger_ = new Ogre::LogManager(); … … 292 292 myLog->setLogDetail(Ogre::LL_BOREME); 293 293 myLog->addListener(this); 294 #endif294 //#endif 295 295 296 296 // Root will detect that we've already created a Log
Note: See TracChangeset
for help on using the changeset viewer.