properly clean up PerfQuery on OGL

This commit is contained in:
Jack Frost 2013-08-15 13:52:31 +02:00
parent 072fac4a74
commit d16f089e88
1 changed files with 2 additions and 0 deletions

View File

@ -250,6 +250,8 @@ void VideoBackend::Video_Cleanup() {
ProgramShaderCache::Shutdown();
VertexShaderManager::Shutdown();
PixelShaderManager::Shutdown();
delete g_perf_query;
g_perf_query = NULL;
delete g_vertex_manager;
g_vertex_manager = NULL;
OpcodeDecoder_Shutdown();