mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-20 01:15:08 -05:00
Set g_texture_cache to NULL upon shutdown. Fixes a crash introduced in previous commits.
This commit is contained in:
@@ -235,6 +235,7 @@ void VideoBackend::Shutdown()
|
||||
OpcodeDecoder_Shutdown();
|
||||
delete g_renderer;
|
||||
g_renderer = NULL;
|
||||
g_texture_cache = NULL;
|
||||
}
|
||||
OpenGL_Shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user