From a3834ebaf9ea8ff6826651392978cdb73b7fab96 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 14 Oct 2016 05:08:56 +1000 Subject: [PATCH] anv: fix the wayland wsi busy flag setting Cc: "12.0" Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_wsi_wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.30.2