mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-03 07:21:20 +00:00
Vulkan: Stop dumping frames on shutdown if left enabled
This commit is contained in:
parent
c422fb7e82
commit
400ba3c7e5
@ -65,6 +65,15 @@ Renderer::Renderer(std::unique_ptr<SwapChain> swap_chain) : m_swap_chain(std::mo
|
|||||||
|
|
||||||
Renderer::~Renderer()
|
Renderer::~Renderer()
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_LIBAV) || defined(_WIN32)
|
||||||
|
// Stop frame dumping if it was left enabled at shutdown time.
|
||||||
|
if (bAVIDumping)
|
||||||
|
{
|
||||||
|
AVIDump::Stop();
|
||||||
|
bAVIDumping = false;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
g_Config.bRunning = false;
|
g_Config.bRunning = false;
|
||||||
UpdateActiveConfig();
|
UpdateActiveConfig();
|
||||||
DestroyScreenshotResources();
|
DestroyScreenshotResources();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user