RSX : delete PBO when exit thread

This commit is contained in:
raven02 2014-06-23 03:45:32 +08:00
parent 77e11d670a
commit fe74f97d44

View File

@ -674,7 +674,9 @@ void GLGSRender::OnExitThread()
{ {
glDeleteTextures(1, &g_flip_tex); glDeleteTextures(1, &g_flip_tex);
glDeleteTextures(1, &g_depth_tex); glDeleteTextures(1, &g_depth_tex);
glDeleteBuffers(4, g_color_pbo);
glDeleteBuffers(1, &g_depth_pbo);
m_program.Delete(); m_program.Delete();
m_rbo.Delete(); m_rbo.Delete();
m_fbo.Delete(); m_fbo.Delete();