Set g_texture_cache to NULL upon shutdown. Fixes a crash introduced in previous commits.

This commit is contained in:
NeoBrainX committed 2012-06-21 14:21:16 +02:00
1 parent cc0523e55b
commit 1c8cdebc22
3 files changed
+3

No files matched your search

@@ -212,6 +212,7 @@ void VideoBackend::Shutdown()
delete g_texture_cache;
delete g_renderer;
g_renderer = NULL;
g_texture_cache = NULL;
}
D3D::Shutdown();
}