GLGSRender fix
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user