mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-28 23:36:41 +00:00
Don't destroyRenderTarget with a NULL window
This commit is contained in:
parent
bfc9fcf2cd
commit
9245faf2aa
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ void OgreRenderer::cleanup()
|
|||
delete mFader;
|
||||
mFader = NULL;
|
||||
|
||||
if (mWindow)
|
||||
Ogre::Root::getSingleton().destroyRenderTarget(mWindow);
|
||||
mWindow = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue