mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Remove redundant FlushViewport call.
This commit is contained in:
parent
f424c663cc
commit
e4621247f2
1 changed files with 0 additions and 2 deletions
|
|
@ -1810,7 +1810,6 @@ static void DrawImGui()
|
|||
}
|
||||
|
||||
static void SetFramebuffer(GuestSurface *renderTarget, GuestSurface *depthStencil, bool settingForClear);
|
||||
static void FlushViewport();
|
||||
|
||||
static void ProcDrawImGui(const RenderCommand& cmd)
|
||||
{
|
||||
|
|
@ -1818,7 +1817,6 @@ static void ProcDrawImGui(const RenderCommand& cmd)
|
|||
AddBarrier(g_backBuffer, RenderTextureLayout::COLOR_WRITE);
|
||||
FlushBarriers();
|
||||
SetFramebuffer(g_backBuffer, nullptr, false);
|
||||
FlushViewport();
|
||||
|
||||
auto& commandList = g_commandLists[g_frame];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue