mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Set g_texture_cache to NULL upon shutdown. Fixes a crash introduced in previous commits.
This commit is contained in:
parent
cc0523e55b
commit
1c8cdebc22
3 changed files with 3 additions and 0 deletions
|
@ -230,6 +230,7 @@ void VideoBackend::Shutdown()
|
|||
delete g_texture_cache;
|
||||
delete g_renderer;
|
||||
g_renderer = NULL;
|
||||
g_texture_cache = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue