Vulkan: Don't execute command buffer before shutting down

We don't need to, and this was causing occasional crashes on Adreno.
This commit is contained in:
Stenzek
2019-01-27 12:41:09 +10:00
parent ff5e296576
commit ce1cc2d9fa
2 changed files with 14 additions and 23 deletions

View File

@ -141,10 +141,6 @@ void Renderer::Shutdown()
{
::Renderer::Shutdown();
// Submit the current command buffer, in case there's a partial frame.
StateTracker::GetInstance()->EndRenderPass();
g_command_buffer_mgr->ExecuteCommandBuffer(false, true);
DestroyShaders();
DestroySemaphores();
}