diff options
author | Dave Airlie <[email protected]> | 2016-10-26 12:58:34 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-27 11:43:00 +1000 |
commit | 1cdca1eb16ab33da338dda076794efd4bf859f7b (patch) | |
tree | 1041b49dddc5970e9f5adb1c5388108456630178 /src/vulkan/wsi/wsi_common_x11.c | |
parent | 787c172aed0ae88ca6a8c1a193d9dd744fbdc918 (diff) |
vulkan/wsi: store present mode in swapchain base class
This just moves this up a level as x11 will need it to
implement things properly.
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_x11.c')
-rw-r--r-- | src/vulkan/wsi/wsi_common_x11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 9ba4a47a816..47eeb3e5e21 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -823,6 +823,7 @@ x11_surface_create_swapchain(VkIcdSurfaceBase *icd_surface, chain->base.acquire_next_image = x11_acquire_next_image; chain->base.queue_present = x11_queue_present; chain->base.image_fns = image_fns; + chain->base.present_mode = pCreateInfo->presentMode; chain->conn = conn; chain->window = window; chain->depth = geometry->depth; |