0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

filter/vf_gpu_vulkan: fix Vulkan handle type

This commit is contained in:
Kacper Michajłow 2024-05-08 17:08:59 +02:00
parent 111d90d9e5
commit aa9cc72199

View File

@ -79,7 +79,7 @@ static struct offscreen_ctx *vk_offscreen_ctx_create(struct mpv_global *global,
goto error;
struct vulkan_opts *vk_opts = mp_get_config_group(NULL, global, &vulkan_conf);
vk->vulkan = mppl_create_vulkan(vk_opts, vk->vkinst, vk->pllog, NULL);
vk->vulkan = mppl_create_vulkan(vk_opts, vk->vkinst, vk->pllog, VK_NULL_HANDLE);
talloc_free(vk_opts);
if (!vk->vulkan)
goto error;