diff options
author | Eric Engestrom <[email protected]> | 2018-10-28 13:39:30 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-03-11 10:49:36 +0000 |
commit | 687babc04532a602937148c9e2ae31dd8daced9e (patch) | |
tree | 07c94c9ff20a4cea4deb61451758e59d03f3d5c4 /src/vulkan/wsi/wsi_common_display.h | |
parent | 1ee01d91c7e9bb0922b112c11a374283e2ca454b (diff) |
wsi/display: s/#if/#ifdef/ to fix -Wundef
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_display.h')
-rw-r--r-- | src/vulkan/wsi/wsi_common_display.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_display.h b/src/vulkan/wsi/wsi_common_display.h index 50d7f836a75..be0bd4e06fb 100644 --- a/src/vulkan/wsi/wsi_common_display.h +++ b/src/vulkan/wsi/wsi_common_display.h @@ -115,7 +115,7 @@ wsi_release_display(VkPhysicalDevice physical_device, VkDisplayKHR display); -#if VK_USE_PLATFORM_XLIB_XRANDR_EXT +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT VkResult wsi_acquire_xlib_display(VkPhysicalDevice physical_device, struct wsi_device *wsi_device, |