forked from dolphin-emu/dolphin
Set g_texture_cache to NULL upon shutdown. Fixes a crash introduced in previous commits.
This commit is contained in:
@@ -230,6 +230,7 @@ void VideoBackend::Shutdown()
|
||||
delete g_texture_cache;
|
||||
delete g_renderer;
|
||||
g_renderer = NULL;
|
||||
g_texture_cache = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user