summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-04-20 19:01:00 +0100
committerEmil Velikov <[email protected]>2016-05-01 08:38:04 +0100
commitcbc4837b83157fd990ac5960badaba342be6cb33 (patch)
tree47a49349b5981c3bff0596ed169210b5a59f0eed /src/intel/vulkan/anv_device.c
parent9bc99f56682721261fec90568255dc9b937faa7c (diff)
anv: kill of custom define HAVE_WAYLAND_PLATFORM
Vulkan API already has equivalent, so simplify things as just use it. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 4abcdf92af0..03a14392b4d 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -174,7 +174,7 @@ static const VkExtensionProperties global_extensions[] = {
.extensionName = VK_KHR_XCB_SURFACE_EXTENSION_NAME,
.specVersion = 5,
},
-#ifdef HAVE_WAYLAND_PLATFORM
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
{
.extensionName = VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME,
.specVersion = 4,