Backends, Viewports: Vulkan: Fix the use of the incorrect fence in wait for fence. (#4208)

The fence being waited upon was not the one associated with the current frame.
This results in validation error detecting a reset of command buffers still in use and resetting fences while still in use.
Read more details in #4208
This commit is contained in:
Michel Lesoinne
2021-06-07 20:09:49 -06:00
committed by ocornut
parent db0338a1f2
commit 90deb0959a
2 changed files with 6 additions and 5 deletions

View File

@ -126,6 +126,7 @@ Docking+Viewports Branch:
- Docking: Clicking on the right-most close button of a docking node closes all windows. (#4186)
- Docking: Fix IsWindowAppearing() and ImGuiCond_Appearing on docked windows. (#4177, #3982, #1497, #1061)
- Backends: Vulkan: Fix the use of the incorrect fence for secondary viewports. (#4208) [@FunMiles]
-----------------------------------------------------------------------