mirror of https://git.ffmpeg.org/ffmpeg.git
fftools/ffplay_renderer: use correct NULL value for Vulkan type
This commit is contained in:
parent
dae12ddb2e
commit
6d4eba51f2
|
@ -766,7 +766,7 @@ static void destroy(VkRenderer *renderer)
|
||||||
vkDestroySurfaceKHR = (PFN_vkDestroySurfaceKHR)
|
vkDestroySurfaceKHR = (PFN_vkDestroySurfaceKHR)
|
||||||
ctx->get_proc_addr(ctx->inst, "vkDestroySurfaceKHR");
|
ctx->get_proc_addr(ctx->inst, "vkDestroySurfaceKHR");
|
||||||
vkDestroySurfaceKHR(ctx->inst, ctx->vk_surface, NULL);
|
vkDestroySurfaceKHR(ctx->inst, ctx->vk_surface, NULL);
|
||||||
ctx->vk_surface = NULL;
|
ctx->vk_surface = VK_NULL_HANDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
av_buffer_unref(&ctx->hw_device_ref);
|
av_buffer_unref(&ctx->hw_device_ref);
|
||||||
|
|
Loading…
Reference in New Issue