mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00: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())
|
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();
|
g_barriers.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue