Framedumps: Add finish() function to limit memory lifetime.

This commit is contained in:
degasus
2016-10-08 00:04:25 +02:00
parent ebc617882b
commit b5a91e1dfa
6 changed files with 9 additions and 0 deletions

View File

@ -497,6 +497,7 @@ void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height
static_cast<int>(m_screenshot_render_texture->GetWidth()),
static_cast<int>(m_screenshot_render_texture->GetHeight()),
AVIDump::DumpFormat::FORMAT_RGBA);
FinishFrameData();
}
}