fftools/ffplay_renderer: use correct NULL value for Vulkan type

This commit is contained in:
Timo Rothenpieler 2024-06-24 20:48:34 +02:00
parent dae12ddb2e
commit 6d4eba51f2
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ static void destroy(VkRenderer *renderer)
vkDestroySurfaceKHR = (PFN_vkDestroySurfaceKHR)
ctx->get_proc_addr(ctx->inst, "vkDestroySurfaceKHR");
vkDestroySurfaceKHR(ctx->inst, ctx->vk_surface, NULL);
ctx->vk_surface = NULL;
ctx->vk_surface = VK_NULL_HANDLE;
}
av_buffer_unref(&ctx->hw_device_ref);