summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-10-13 05:27:56 +0100
committerDave Airlie <airlied@redhat.com>2016-10-19 10:15:42 +1000
commite9cf7c4460588eec68074c477bf3c7add6d21da7 (patch)
treebcad032d02df2fe2202e6f57115d19ace5478999 /src/intel/vulkan/anv_wsi.c
parent0e4abc3e1016f606f64dfdd3b90f69abbdfedbc9 (diff)
downloadexternal_mesa3d-e9cf7c4460588eec68074c477bf3c7add6d21da7.zip
external_mesa3d-e9cf7c4460588eec68074c477bf3c7add6d21da7.tar.gz
external_mesa3d-e9cf7c4460588eec68074c477bf3c7add6d21da7.tar.bz2
anv/wsi: drop device from get caps
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/vulkan/anv_wsi.c')
-rw-r--r--src/intel/vulkan/anv_wsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c
index a8ac3a1..bd20ced 100644
--- a/src/intel/vulkan/anv_wsi.c
+++ b/src/intel/vulkan/anv_wsi.c
@@ -93,7 +93,7 @@ VkResult anv_GetPhysicalDeviceSurfaceCapabilitiesKHR(
ANV_FROM_HANDLE(_VkIcdSurfaceBase, surface, _surface);
struct anv_wsi_interface *iface = device->wsi[surface->platform];
- return iface->get_capabilities(surface, device, pSurfaceCapabilities);
+ return iface->get_capabilities(surface, pSurfaceCapabilities);
}
VkResult anv_GetPhysicalDeviceSurfaceFormatsKHR(