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()
|
||||
{
|
||||
#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;
|
||||
UpdateActiveConfig();
|
||||
DestroyScreenshotResources();
|
||||
|
|
Loading…
Reference in New Issue