mirror of
https://github.com/Kugelschieber/vk-experiments.git
synced 2026-01-18 14:50: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) {
|
||||
vkDestroySurfaceKHR(ctx->instance, ctx->surface, NULL);
|
||||
vkDestroyDevice(ctx->device, NULL);
|
||||
vkDestroyInstance(ctx->instance, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user