Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 10, 2009, 5:36:45 PM (15 years ago)
Author:
rgrieder
Message:

Creating Ogre::Root in non graphics mode as well. This allows to always make use of the ResourceGroupManager.
Also removed resource related parts from GraphicsManager.

This revision does not run!

File:
1 edited

Legend:

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

    r3370 r5614  
    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.