Commit a0122385 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

anv: fix Android WSI VkFence



Fix an obvious one-liner bug.
Signed-off-by: Yiwei Zhang's avatarYiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
Part-of: <!11344>
parent aa148513
......@@ -820,7 +820,7 @@ anv_AcquireImageANDROID(
}
} else if (semaphore_h != VK_NULL_HANDLE) {
semaphore_fd = nativeFenceFd;
} else if (fence_h == VK_NULL_HANDLE) {
} else if (fence_h != VK_NULL_HANDLE) {
fence_fd = nativeFenceFd;
} else {
/* Nothing to import into so we have to close the file */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment