summaryrefslogtreecommitdiff
path: root/src/vulkan/meson.build
diff options
context:
space:
mode:
authorMichel Zou <xantares09@hotmail.com>2021-02-11 09:11:42 +0100
committerMarge Bot <eric+marge@anholt.net>2021-02-11 17:56:27 +0000
commit664a80387966f56b5fa62b1ba8270148c9a8d06e (patch)
tree0b166232d16e4c4f52a5b4b41387a6fb429c0ab2 /src/vulkan/meson.build
parenta27d76a2d9a51dcb9028d0dfa8c1a3d1171e5006 (diff)
vulkan: Fix windows api conflict
It must be undefined in the header too Fixes: e487ae1b Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8975>
Diffstat (limited to 'src/vulkan/meson.build')
-rw-r--r--src/vulkan/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/meson.build b/src/vulkan/meson.build
index 22610a5493f..9558a957844 100644
--- a/src/vulkan/meson.build
+++ b/src/vulkan/meson.build
@@ -56,6 +56,9 @@ if with_xlib_lease
vulkan_wsi_deps += [dep_xlib_xrandr]
vulkan_wsi_list += ['xlib_xrandr']
endif
+if with_platform_windows
+ vulkan_wsi_args += ['-DVK_USE_PLATFORM_WIN32_KHR']
+endif
subdir('util')