summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-15 20:08:53 -0800
committerJason Ekstrand <[email protected]>2017-12-04 10:04:19 -0800
commitcd881dafad9bdb5a8f94ae272c56c7e30ee28d09 (patch)
tree08ed960d36b565cfc2150f41a15349f903a672a1 /src/vulkan/wsi/wsi_common.h
parent764fc1643c10ca1f336a99ddbe727313c995b6bb (diff)
vulkan/wsi: Add wsi_swapchain_init/finish functions
Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common.h')
-rw-r--r--src/vulkan/wsi/wsi_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common.h b/src/vulkan/wsi/wsi_common.h
index 41d2c6d1128..15142f3e536 100644
--- a/src/vulkan/wsi/wsi_common.h
+++ b/src/vulkan/wsi/wsi_common.h
@@ -53,6 +53,7 @@ struct wsi_image_fns {
};
struct wsi_swapchain {
+ const struct wsi_device *wsi;
VkDevice device;
VkAllocationCallbacks alloc;