Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 24, 2009, 3:03:44 PM (15 years ago)
Author:
rgrieder
Message:

Merged most of revision 5614 and its fixes from revisions 5628, 5658, 5662 and 5670:

  • Creating Ogre::Root in non graphics mode as well. This allows to always make use of the ResourceGroupManager.
  • Switched to smart pointers for the destruction code in GraphicsManager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource3/src/orxonox/gamestates/GSLevel.cc

    r3370 r5677  
    2929
    3030#include "GSLevel.h"
     31
     32#include <OgreCompositorManager.h>
    3133
    3234#include "core/input/InputManager.h"
     
    170172*/
    171173
     174        if (GameMode::showsGraphics())
     175        {
     176            // unload all compositors (this is only necessary because we don't yet destroy all resources!)
     177            Ogre::CompositorManager::getSingleton().removeAll();
     178        }
    172179
    173180        // this call will delete every BaseObject!
Note: See TracChangeset for help on using the changeset viewer.