Merge pull request #3368 from hdcmeta/dx11_cleanup

Set g_vertex_manager to nullptr on DX11 backend shutdown
This commit is contained in:
Mathew Maidment 2015-12-20 21:41:26 -05:00
commit 1fbab188ad
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,8 @@ void VideoBackend::Shutdown()
delete g_renderer;
g_renderer = nullptr;
g_texture_cache = nullptr;
g_vertex_manager = nullptr;
g_perf_query = nullptr;
}
}