mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Don't force clear anymore for forced viewports
This commit is contained in:
parent
0312346d1a
commit
d770913c11
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue