summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/ra_vk.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2018-11-03 09:19:09 -0700
committerJan Ekström <jeebjp@gmail.com>2018-11-03 23:53:08 +0200
commitc8a065df12f533c7efab4e3cc763bf63ef8cc11f (patch)
tree4cfda8b3b76624abec28359ec7dfaf6cc380c1e7 /video/out/vulkan/ra_vk.c
parent880c59d1890286899a49be8c743f23889c42e137 (diff)
downloadmpv-c8a065df12f533c7efab4e3cc763bf63ef8cc11f.tar.bz2
mpv-c8a065df12f533c7efab4e3cc763bf63ef8cc11f.tar.xz
vo_gpu: vulkan: Always use KHR suffix types and defines
I was inconsistent about this originally, as the functionality was moved into the core spec in 1.1 and so both suffixed and unsuffixed versions of everything exist and can be mixed together. There's no reason to fail to build with 1.0.39+ so I'm fixing the names.
Diffstat (limited to 'video/out/vulkan/ra_vk.c')
-rw-r--r--video/out/vulkan/ra_vk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vulkan/ra_vk.c b/video/out/vulkan/ra_vk.c
index 80019fa4bc..0516664e79 100644
--- a/video/out/vulkan/ra_vk.c
+++ b/video/out/vulkan/ra_vk.c
@@ -951,7 +951,7 @@ static bool ra_vk_mem_get_external_info(struct ra *ra, struct vk_memslice *mem,
.memory = mem->vkmem,
.handleType = IsWindows8OrGreater()
? VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR
- : VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ : VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR,
};
VK_LOAD_PFN(vkGetMemoryWin32HandleKHR);