mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Always clear first frame
This commit is contained in:
parent
284c287c99
commit
008800d30d
|
@ -3030,6 +3030,10 @@ void CClient::Run()
|
|||
}
|
||||
}
|
||||
|
||||
// make sure the first frame just clears everything to prevent undesired colors when waiting for io
|
||||
Graphics()->Clear(0, 0, 0);
|
||||
Graphics()->Swap();
|
||||
|
||||
// init sound, allowed to fail
|
||||
m_SoundInitFailed = Sound()->Init() != 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue