Module: Mesa Branch: master Commit: ab18578b0306adb437ceb6f7ea510f42a8effae4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab18578b0306adb437ceb6f7ea510f42a8effae4
Author: Matt Turner <[email protected]> Date: Wed Apr 12 11:00:39 2017 -0700 anv: Only define wsi_cbs when VK_USE_PLATFORM_WAYLAND_KHR defined --- src/intel/vulkan/anv_wsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index 6ab0f20b3d..ba66ea6d46 100644 --- a/src/intel/vulkan/anv_wsi.c +++ b/src/intel/vulkan/anv_wsi.c @@ -26,9 +26,11 @@ #include "vk_format_info.h" #include "util/vk_util.h" +#ifdef VK_USE_PLATFORM_WAYLAND_KHR static const struct wsi_callbacks wsi_cbs = { .get_phys_device_format_properties = anv_GetPhysicalDeviceFormatProperties, }; +#endif VkResult anv_init_wsi(struct anv_physical_device *physical_device) _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
