mirror of https://git.ffmpeg.org/ffmpeg.git
hwcontext_vulkan: fix typo in vulkan_device_init()
load_functions() did not load the device-level functions.
This commit is contained in:
parent
99bbf4a5be
commit
08d933bf61
|
@ -1349,7 +1349,7 @@ static int vulkan_device_init(AVHWDeviceContext *ctx)
|
|||
}
|
||||
}
|
||||
|
||||
err = load_functions(ctx, 1, 0);
|
||||
err = load_functions(ctx, 1, 1);
|
||||
if (err < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Unable to load functions!\n");
|
||||
return err;
|
||||
|
|
Loading…
Reference in New Issue