mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-11-03 13:00:57 +01:00
Wait for both graphics and copy on barriers.
This commit is contained in:
1 parent
c2ca5dcdad
commit
87daa6067e
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user