Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5810


Ignore:
Timestamp:
Sep 27, 2009, 3:31:37 PM (15 years ago)
Author:
rgrieder
Message:

Adding unloading code for the resource locations.

File:
1 edited

Legend:

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

    r5747 r5810  
    132132        Ogre::WindowEventUtilities::removeWindowEventListener(renderWindow_, ogreWindowEventListener_.get());
    133133        // TODO: Destroy the console command
     134
     135        // Undeclare the resources
     136        Loader::unload(resources_.get());
     137        if (Core::isDevelopmentRun())
     138            Loader::unload(extResources_.get());
    134139    }
    135140
Note: See TracChangeset for help on using the changeset viewer.