mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
anv: fix Android WSI VkFence
Fix an obvious one-liner bug. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11344>
This commit is contained in:
parent
aa14851340
commit
a0122385f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue