Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 4, 2015, 11:09:40 PM (9 years ago)
Author:
landauf
Message:

unload debug overly while unloading graphics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/GraphicsManager.cc

    r10509 r10525  
    141141        orxout(internal_status) << "destroying GraphicsManager..." << endl;
    142142
    143         Loader::getInstance().unload(debugOverlay_.get());
    144 
    145143        Ogre::WindowEventUtilities::removeWindowEventListener(renderWindow_, ogreWindowEventListener_);
    146144        ModifyConsoleCommand(__CC_printScreen_name).resetFunction();
     
    332330        debugOverlay_.reset(new XMLFile("debug.oxo"));
    333331        Loader::getInstance().load(debugOverlay_.get(), ClassTreeMask(), false);
     332    }
     333
     334    void GraphicsManager::unloadDebugOverlay()
     335    {
     336        Loader::getInstance().unload(debugOverlay_.get());
    334337    }
    335338
Note: See TracChangeset for help on using the changeset viewer.