mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-01 12:15:27 -06:00
Merge pull request #364 from raven02/patch-5
RSX : delete PBOs when exit thread
This commit is contained in:
commit
2e668cd2b6
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user