mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
Wait for both graphics and copy on barriers.
This commit is contained in:
parent
c2ca5dcdad
commit
87daa6067e
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ static void FlushBarriers()
|
|||
{
|
||||
if (!g_barriers.empty())
|
||||
{
|
||||
g_commandLists[g_frame]->barriers(RenderBarrierStage::GRAPHICS, g_barriers);
|
||||
g_commandLists[g_frame]->barriers(RenderBarrierStage::GRAPHICS | RenderBarrierStage::COPY, g_barriers);
|
||||
g_barriers.clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue