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); offset += sizeof(f32);
} }
} }
void clear()
{
m_storage.clear();
}
}; };

View file

@ -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();