mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
Destroy the surface
This commit is contained in:
parent
dd1c2db249
commit
1f24a1408a
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ Vulkan_Shutdown_Common (vulkan_ctx_t *ctx)
|
||||||
if (ctx->swapchain) {
|
if (ctx->swapchain) {
|
||||||
QFV_DestroySwapchain (ctx->swapchain);
|
QFV_DestroySwapchain (ctx->swapchain);
|
||||||
}
|
}
|
||||||
|
ctx->instance->funcs->vkDestroySurfaceKHR (ctx->instance->instance,
|
||||||
|
ctx->surface, 0);
|
||||||
if (ctx->device) {
|
if (ctx->device) {
|
||||||
QFV_DestroyDevice (ctx->device);
|
QFV_DestroyDevice (ctx->device);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue