mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #3058
3058: Always clear first frame r=def- a=Jupeyy Co-authored-by: Jupeyy <jupjopjap@gmail.com>
This commit is contained in:
commit
692c37398e
|
@ -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