mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 00:10:26 -06:00
Wait for both graphics and copy on barriers.
This commit is contained in:
@@ -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