Module: Mesa Branch: master Commit: c0b81af0dcde4536dcf57ce24db3e0aa7187be4e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0b81af0dcde4536dcf57ce24db3e0aa7187be4e
Author: Eric Engestrom <[email protected]> Date: Thu Aug 24 16:22:42 2017 +0100 radv: compile out unused code Signed-off-by: Eric Engestrom <[email protected]> --- src/amd/vulkan/radv_wsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c index aa44b7d78a..8a551c48bb 100644 --- a/src/amd/vulkan/radv_wsi.c +++ b/src/amd/vulkan/radv_wsi.c @@ -28,9 +28,11 @@ #include "wsi_common.h" #include "vk_util.h" +#ifdef VK_USE_PLATFORM_WAYLAND_KHR static const struct wsi_callbacks wsi_cbs = { .get_phys_device_format_properties = radv_GetPhysicalDeviceFormatProperties, }; +#endif VkResult radv_init_wsi(struct radv_physical_device *physical_device) _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
