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_GetPhysicalDeviceFormatProperties, }; +#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