OGL: Fix frame dump on emulation close.

This commit is contained in:
degasus 2016-11-10 12:39:56 +01:00
parent 21774bdc81
commit 3816207d7b
1 changed files with 1 additions and 0 deletions

View File

@ -768,6 +768,7 @@ Renderer::Renderer()
Renderer::~Renderer()
{
FlushFrameDump();
FinishFrameData();
if (m_frame_dumping_pbo[0])
glDeleteBuffers(2, m_frame_dumping_pbo.data());
}