Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> On 12 Sep 2017 5:11 PM, "Eric Engestrom" <eric.engest...@imgtec.com> wrote:
Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> --- 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_GetPhysicalDeviceFormatPropert ies, }; +#endif VkResult radv_init_wsi(struct radv_physical_device *physical_device) -- Cheers, Eric
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev