Merge pull request #2000 from degasus/master

VideoBackends: set GLInterface to zero after deleting it
This commit is contained in:
Lioncash 2015-02-01 07:59:18 -05:00
commit 031422c596
2 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,7 @@ void VideoBackend::Shutdown()
GLInterface->Shutdown();
delete GLInterface;
GLInterface = nullptr;
}
void VideoBackend::Video_Cleanup()

View File

@ -164,6 +164,7 @@ void VideoSoftware::Shutdown()
GLInterface->Shutdown();
delete GLInterface;
GLInterface = nullptr;
}
void VideoSoftware::Video_Cleanup()