summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_wsi_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_wsi_x11.c')
-rw-r--r--src/amd/vulkan/radv_wsi_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_wsi_x11.c b/src/amd/vulkan/radv_wsi_x11.c
index 0aae2a3530d..9cd0db0a685 100644
--- a/src/amd/vulkan/radv_wsi_x11.c
+++ b/src/amd/vulkan/radv_wsi_x11.c
@@ -579,6 +579,7 @@ x11_acquire_next_image(struct radv_swapchain *radv_chain,
/* We found a non-busy image */
xshmfence_await(chain->images[i].shm_fence);
*image_index = i;
+ chain->images[i].busy = true;
return VK_SUCCESS;
}
}