summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-10-13 05:33:28 +0100
committerDave Airlie <[email protected]>2016-10-19 10:15:42 +1000
commit0e4abc3e1016f606f64dfdd3b90f69abbdfedbc9 (patch)
treeb612e68652dc8a570011489db690272152041623 /src/intel/vulkan/anv_wsi.c
parent32d70c0d66ba28c7ac53b797730532c06439c799 (diff)
anv/wsi: drop get present modes device arg
Reviewed-by: Jason Ekstrand <[email protected]>
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 fc35572b244..a8ac3a1c3cc 100644
--- a/src/intel/vulkan/anv_wsi.c
+++ b/src/intel/vulkan/anv_wsi.c
@@ -120,7 +120,7 @@ VkResult anv_GetPhysicalDeviceSurfacePresentModesKHR(
ANV_FROM_HANDLE(_VkIcdSurfaceBase, surface, _surface);
struct anv_wsi_interface *iface = device->wsi[surface->platform];
- return iface->get_present_modes(surface, device, pPresentModeCount,
+ return iface->get_present_modes(surface, pPresentModeCount,
pPresentModes);
}