Skip to content

Commit

Permalink
Main: Root - run destructor on MaterialManager before GpuProgramManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Fighter19 authored and paroj committed Jul 6, 2022
1 parent f00fde1 commit bc3221a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OgreMain/src/OgreRoot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ namespace Ogre {
#endif
mCompositorManager.reset(); // needs rendersystem
mParticleManager.reset(); // may use plugins
mMaterialManager.reset(); // may use GPU program manager
mGpuProgramManager.reset(); // may use plugins
unloadPlugins();

Expand Down

0 comments on commit bc3221a

Please sign in to comment.