From c264c272a5a7c6badea6e443ce78d286540798b3 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 13 Oct 2016 05:32:41 +0100 Subject: anv/wsi: drop device from get format Just use the wsi_device instead. Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_wsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/vulkan/anv_wsi.h') diff --git a/src/intel/vulkan/anv_wsi.h b/src/intel/vulkan/anv_wsi.h index 7bd938b2d91..8b1f106fe5f 100644 --- a/src/intel/vulkan/anv_wsi.h +++ b/src/intel/vulkan/anv_wsi.h @@ -37,7 +37,7 @@ struct anv_wsi_interface { VkResult (*get_capabilities)(VkIcdSurfaceBase *surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities); VkResult (*get_formats)(VkIcdSurfaceBase *surface, - struct anv_physical_device *device, + struct anv_wsi_device *wsi_device, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats); VkResult (*get_present_modes)(VkIcdSurfaceBase *surface, -- cgit v1.2.3