ogl: fix single core crash

osx is missing, sorry but I'm too stupid for objective-c
This commit is contained in:
degasus
2013-04-11 03:32:07 +02:00
parent 6af14bd4ce
commit 3c87512180
8 changed files with 24 additions and 2 deletions

View File

@ -253,6 +253,7 @@ void VideoBackend::Video_Cleanup() {
OpcodeDecoder_Shutdown();
delete g_renderer;
g_renderer = NULL;
GLInterface->ClearCurrent();
}
}