Mesa (master): radv: fix the wayland wsi busy bit

Dave Airlie airlied at kemper.freedesktop.org
Thu Oct 13 19:10:11 UTC 2016


Module: Mesa
Branch: master
Commit: 47a7d86fe907932c40484ccdeefeac269bbb0810
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47a7d86fe907932c40484ccdeefeac269bbb0810

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Oct 14 05:09:39 2016 +1000

radv: fix the wayland wsi busy bit

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/vulkan/radv_wsi_wayland.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_wsi_wayland.c b/src/amd/vulkan/radv_wsi_wayland.c
index 5ce2e9e..739e0e3 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;
 			}
 		}




More information about the mesa-commit mailing list