diff options
author | Dave Airlie <[email protected]> | 2016-10-13 05:32:41 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-19 10:15:42 +1000 |
commit | c264c272a5a7c6badea6e443ce78d286540798b3 (patch) | |
tree | 3914928c51ced3b0e275aec664980ee94217af26 /src/intel/vulkan/anv_wsi_x11.c | |
parent | 467d161e6a050bb2e55278340d235b91c2ffa5df (diff) |
anv/wsi: drop device from get format
Just use the wsi_device instead.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi_x11.c')
-rw-r--r-- | src/intel/vulkan/anv_wsi_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c index f438e5b78e1..1a8058f44ad 100644 --- a/src/intel/vulkan/anv_wsi_x11.c +++ b/src/intel/vulkan/anv_wsi_x11.c @@ -401,7 +401,7 @@ x11_surface_get_capabilities(VkIcdSurfaceBase *icd_surface, static VkResult x11_surface_get_formats(VkIcdSurfaceBase *surface, - struct anv_physical_device *device, + struct anv_wsi_device *wsi_device, uint32_t *pSurfaceFormatCount, VkSurfaceFormatKHR *pSurfaceFormats) { |