[vulkan] Adjust shutdown order slightly

It makes more sense to shutdown the render passes before textures.
This commit is contained in:
Bill Currie 2022-11-22 13:30:29 +09:00
parent a886b9432c
commit 7b15caee04

View file

@ -775,9 +775,10 @@ vulkan_vid_render_shutdown (void)
Vulkan_Scene_Shutdown (vulkan_ctx);
Vulkan_Matrix_Shutdown (vulkan_ctx);
Vulkan_DestroyRenderPasses (vulkan_ctx);
Vulkan_Palette_Shutdown (vulkan_ctx);
Vulkan_Texture_Shutdown (vulkan_ctx);
Vulkan_DestroyRenderPasses (vulkan_ctx);
QFV_DestroyStagingBuffer (vulkan_ctx->staging);
df->vkDestroyCommandPool (dev, vulkan_ctx->cmdpool, 0);