Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2008, 10:43:58 PM (16 years ago)
Author:
rgrieder
Message:
  • removed some unnecessary forward declarations
  • renamed destroy() —> destroySingleton()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/GraphicsEngine.cc

    r940 r969  
    6363  GraphicsEngine::~GraphicsEngine()
    6464  {
    65     if (!this->root_)
     65    if (this->root_)
    6666      delete this->root_;
     67    // delete the ogre log and the logManager (sine we have created it).
     68    if (LogManager::getSingletonPtr() != 0)
     69    {
     70      LogManager::getSingleton().getDefaultLog()->removeListener(this);
     71      LogManager::getSingleton().destroyLog(LogManager::getSingleton().getDefaultLog());
     72      delete LogManager::getSingletonPtr();
     73    }
    6774  }
    6875
Note: See TracChangeset for help on using the changeset viewer.