mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Renderer: Fix crash on shutdown when frame dumping or taking screenshots
This commit is contained in:
parent
5ba18f642c
commit
3f197480ef
@ -800,6 +800,9 @@ void Renderer::ShutdownFrameDumping()
|
||||
m_frame_dump_start.Set();
|
||||
if (m_frame_dump_thread.joinable())
|
||||
m_frame_dump_thread.join();
|
||||
m_frame_dump_render_texture.reset();
|
||||
for (auto& tex : m_frame_dump_readback_textures)
|
||||
tex.reset();
|
||||
}
|
||||
|
||||
void Renderer::DumpFrameData(const u8* data, int w, int h, int stride, const AVIDump::Frame& state)
|
||||
|
Loading…
Reference in New Issue
Block a user