diff options
author | Dave Airlie <airlied@redhat.com> | 2016-10-14 05:09:39 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-10-14 05:10:02 +1000 |
commit | 47a7d86fe907932c40484ccdeefeac269bbb0810 (patch) | |
tree | b6bdb2444a31db114e97d5b8f5b58723ce7dafe8 /src/amd/vulkan/radv_wsi_wayland.c | |
parent | a3834ebaf9ea8ff6826651392978cdb73b7fab96 (diff) | |
download | external_mesa3d-47a7d86fe907932c40484ccdeefeac269bbb0810.zip external_mesa3d-47a7d86fe907932c40484ccdeefeac269bbb0810.tar.gz external_mesa3d-47a7d86fe907932c40484ccdeefeac269bbb0810.tar.bz2 |
radv: fix the wayland wsi busy bit
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd/vulkan/radv_wsi_wayland.c')
-rw-r--r-- | src/amd/vulkan/radv_wsi_wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |