Module: Mesa
Branch: master
Commit: 687babc04532a602937148c9e2ae31dd8daced9e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=687babc04532a602937148c9e2ae31dd8daced9e

Author: Eric Engestrom <[email protected]>
Date:   Sun Oct 28 13:39:30 2018 +0000

wsi/display: s/#if/#ifdef/ to fix -Wundef

Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>

---

 src/vulkan/wsi/wsi_common_display.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to