properly clean up PerfQuery on OGL
This commit is contained in:
parent
072fac4a74
commit
d16f089e88
|
@ -250,6 +250,8 @@ void VideoBackend::Video_Cleanup() {
|
||||||
ProgramShaderCache::Shutdown();
|
ProgramShaderCache::Shutdown();
|
||||||
VertexShaderManager::Shutdown();
|
VertexShaderManager::Shutdown();
|
||||||
PixelShaderManager::Shutdown();
|
PixelShaderManager::Shutdown();
|
||||||
|
delete g_perf_query;
|
||||||
|
g_perf_query = NULL;
|
||||||
delete g_vertex_manager;
|
delete g_vertex_manager;
|
||||||
g_vertex_manager = NULL;
|
g_vertex_manager = NULL;
|
||||||
OpcodeDecoder_Shutdown();
|
OpcodeDecoder_Shutdown();
|
||||||
|
|
Loading…
Reference in New Issue