mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
GLGSRender fix
This commit is contained in:
parent
e8a940172c
commit
7417033d7f
2 changed files with 6 additions and 2 deletions
|
@ -229,4 +229,9 @@ public:
|
||||||
offset += sizeof(f32);
|
offset += sizeof(f32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void clear()
|
||||||
|
{
|
||||||
|
m_storage.clear();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -615,8 +615,7 @@ void GLGSRender::on_exit()
|
||||||
{
|
{
|
||||||
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
||||||
|
|
||||||
//if (m_program)
|
m_prog_buffer.clear();
|
||||||
// m_program.remove();
|
|
||||||
|
|
||||||
if (draw_fbo)
|
if (draw_fbo)
|
||||||
draw_fbo.remove();
|
draw_fbo.remove();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue