From f82b6c6272b48b4ce1f267239fa5b1cd3dfffcc7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 24 Jan 2017 15:11:01 -0800 Subject: vulkan/wsi: Plumb present regions through the common code Reviewed-by: Lionel Landwerlin Reviewed-by: Daniel Stone Acked-by: Dave Airlie --- src/amd/vulkan/radv_wsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/amd') diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c index d2b760e935..8b66095b26 100644 --- a/src/amd/vulkan/radv_wsi.c +++ b/src/amd/vulkan/radv_wsi.c @@ -485,7 +485,8 @@ VkResult radv_QueuePresentKHR( fence->submitted = true; result = swapchain->queue_present(swapchain, - pPresentInfo->pImageIndices[i]); + pPresentInfo->pImageIndices[i], + NULL); /* TODO: What if one of them returns OUT_OF_DATE? */ if (result != VK_SUCCESS) return result; -- cgit v1.2.3