summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-10-14 02:38:49 +0100
committerDave Airlie <[email protected]>2016-10-19 10:15:43 +1000
commit954cd09e6682557d483c36b234f9d923ad754305 (patch)
tree91d9fb4cdbd8172fb6e7218fb5bc238daf64cd50 /src/intel/vulkan/anv_wsi.h
parent1720bbd353d87412754fd4ecb6fa76406d54d413 (diff)
anv/wsi: move further away from passing anv displays around
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi.h')
-rw-r--r--src/intel/vulkan/anv_wsi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi.h b/src/intel/vulkan/anv_wsi.h
index 2548e412c12..236133c4252 100644
--- a/src/intel/vulkan/anv_wsi.h
+++ b/src/intel/vulkan/anv_wsi.h
@@ -60,7 +60,8 @@ struct anv_wsi_interface {
uint32_t* pPresentModeCount,
VkPresentModeKHR* pPresentModes);
VkResult (*create_swapchain)(VkIcdSurfaceBase *surface,
- struct anv_device *device,
+ VkDevice device,
+ struct anv_wsi_device *wsi_device,
const VkSwapchainCreateInfoKHR* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
const struct anv_wsi_image_fns *image_fns,