mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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