Vulkan: Fix resource leaks present at shutdown and mode changes

Infrequent, but still happened.
This commit is contained in:
Stenzek
2016-10-01 22:22:14 +10:00
parent 1286c309e3
commit 4a8766cec4
4 changed files with 51 additions and 14 deletions

View File

@ -61,6 +61,8 @@ Renderer::~Renderer()
{
g_Config.bRunning = false;
UpdateActiveConfig();
DestroyScreenshotResources();
DestroyShaders();
DestroySemaphores();
}