Don't force clear anymore for forced viewports

This commit is contained in:
Jupeyy 2022-04-03 12:45:23 +02:00
parent 0312346d1a
commit d770913c11

View file

@ -845,7 +845,7 @@ void CGraphics_Threaded::Clear(float r, float g, float b, bool ForceClearNow)
Cmd.m_Color.g = g;
Cmd.m_Color.b = b;
Cmd.m_Color.a = 0;
Cmd.m_ForceClear = ForceClearNow || m_IsForcedViewport;
Cmd.m_ForceClear = ForceClearNow;
AddCmd(
Cmd, [] { return true; }, "failed to clear graphics.");
}