summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi_wayland.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-10-14 05:08:56 +1000
committerDave Airlie <[email protected]>2016-10-14 05:10:02 +1000
commita3834ebaf9ea8ff6826651392978cdb73b7fab96 (patch)
treed7647ef828647f7d0fd2134ad163576417fb1827 /src/intel/vulkan/anv_wsi_wayland.c
parent5c66d46d6ace0603227e4b919b132416444949e7 (diff)
anv: fix the wayland wsi busy flag setting
Cc: "12.0" <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi_wayland.c')
-rw-r--r--src/intel/vulkan/anv_wsi_wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi_wayland.c b/src/intel/vulkan/anv_wsi_wayland.c
index e6cc09ff216..71527d36d5f 100644
--- a/src/intel/vulkan/anv_wsi_wayland.c
+++ b/src/intel/vulkan/anv_wsi_wayland.c
@@ -523,7 +523,7 @@ wsi_wl_swapchain_acquire_next_image(struct anv_swapchain *anv_chain,
if (!chain->images[i].busy) {
/* We found a non-busy image */
*image_index = i;
- chain->images[image_index].busy = true;
+ chain->images[i].busy = true;
return VK_SUCCESS;
}
}