Merge pull request #364 from raven02/patch-5
RSX : delete PBOs when exit thread
This commit is contained in:
@@ -674,6 +674,8 @@ 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();
|
||||||
|
|||||||
Reference in New Issue
Block a user