hwcontext_vulkan: fix typo in vulkan_device_init()

load_functions() did not load the device-level functions.
This commit is contained in:
Lynne 2021-06-10 12:24:04 +02:00
parent 99bbf4a5be
commit 08d933bf61
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
1 changed files with 1 additions and 1 deletions

View File

@ -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;