radv: compile out unused code

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Eric Engestrom 2017-08-24 16:22:42 +01:00
parent 375c4868ef
commit c0b81af0dc

View file

@ -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)