OGL: Fix frame dump on emulation close.
This commit is contained in:
parent
21774bdc81
commit
3816207d7b
|
@ -768,6 +768,7 @@ Renderer::Renderer()
|
|||
Renderer::~Renderer()
|
||||
{
|
||||
FlushFrameDump();
|
||||
FinishFrameData();
|
||||
if (m_frame_dumping_pbo[0])
|
||||
glDeleteBuffers(2, m_frame_dumping_pbo.data());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue