diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-18 23:33:04 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-18 23:55:28 +0000 |
commit | 1b28b945850dfa7371967e8ade2c51141fffe624 (patch) | |
tree | d28a90302d6042e5a9f8fd2bf0242054e4900c14 /video/out/vulkan | |
parent | d30432ea31523a64b900b9b3086636dc0317dbba (diff) | |
download | mpv-1b28b945850dfa7371967e8ade2c51141fffe624.tar.bz2 mpv-1b28b945850dfa7371967e8ade2c51141fffe624.tar.xz |
vo: add missing return variable assignment
Diffstat (limited to 'video/out/vulkan')
-rw-r--r-- | video/out/vulkan/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c index fda56bd829..5087403ade 100644 --- a/video/out/vulkan/context.c +++ b/video/out/vulkan/context.c @@ -66,7 +66,7 @@ static int vk_validate_dev(struct mp_log *log, const struct m_option *opt, goto done; devices = talloc_array(NULL, VkPhysicalDevice, num); - vkEnumeratePhysicalDevices(inst, &num, devices); + res = vkEnumeratePhysicalDevices(inst, &num, devices); if (res != VK_SUCCESS) goto done; |