From: Dave Airlie Date: Thu, 13 Oct 2016 19:09:39 +0000 (+1000) Subject: radv: fix the wayland wsi busy bit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47a7d86fe907932c40484ccdeefeac269bbb0810;p=mesa.git radv: fix the wayland wsi busy bit Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_wsi_wayland.c b/src/amd/vulkan/radv_wsi_wayland.c index 5ce2e9e7915..739e0e32580 100644 --- a/src/amd/vulkan/radv_wsi_wayland.c +++ b/src/amd/vulkan/radv_wsi_wayland.c @@ -521,7 +521,7 @@ wsi_wl_swapchain_acquire_next_image(struct radv_swapchain *radv_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; } }