mirror of
https://github.com/Kugelschieber/vk-experiments.git
synced 2026-01-18 06:40:27 +00:00
Updated cleanup to include surface.
This commit is contained in:
@@ -218,6 +218,7 @@ int vkeInit(VKEContext* ctx, VKEConfig* config) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void vkeDestroy(VKEContext* ctx) {
|
void vkeDestroy(VKEContext* ctx) {
|
||||||
|
vkDestroySurfaceKHR(ctx->instance, ctx->surface, NULL);
|
||||||
vkDestroyDevice(ctx->device, NULL);
|
vkDestroyDevice(ctx->device, NULL);
|
||||||
vkDestroyInstance(ctx->instance, NULL);
|
vkDestroyInstance(ctx->instance, NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user