mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Grey background colors when quads disabled
This commit is contained in:
parent
637ccb3e66
commit
8421903897
|
@ -770,8 +770,10 @@ void CClient::Render()
|
|||
// if(g_Config.m_GfxClear)
|
||||
if(g_Config.m_ClShowEntities && g_Config.m_ClDDRaceCheats)
|
||||
Graphics()->Clear(0.3f,0.3f,0.6f);
|
||||
else if(g_Config.m_GfxClear)
|
||||
Graphics()->Clear(1,1,0);
|
||||
else if(g_Config.m_GfxClear) {
|
||||
float bg = ((float) g_Config.m_ClBackground) / 256.0;
|
||||
Graphics()->Clear(bg,bg,bg);
|
||||
}
|
||||
|
||||
GameClient()->OnRender();
|
||||
DebugRender();
|
||||
|
|
Loading…
Reference in a new issue