1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

GLGSRender fix

This commit is contained in:
Nekotekina 2016-01-27 15:19:34 +03:00
parent e8a940172c
commit 7417033d7f
2 changed files with 6 additions and 2 deletions

View File

@ -229,4 +229,9 @@ public:
offset += sizeof(f32);
}
}
void clear()
{
m_storage.clear();
}
};

View File

@ -615,8 +615,7 @@ void GLGSRender::on_exit()
{
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
//if (m_program)
// m_program.remove();
m_prog_buffer.clear();
if (draw_fbo)
draw_fbo.remove();