MCPcopy Create free account
hub / github.com/ddnet/ddnet / UpdateAndSwap

Method UpdateAndSwap

src/engine/client/client.cpp:4173–4179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4171}
4172
4173void CClient::UpdateAndSwap()
4174{
4175 Input()->Update();
4176 Graphics()->Swap();
4177 Graphics()->Clear(0, 0, 0);
4178 m_GlobalTime = (time_get() - m_GlobalStartTime) / (float)time_freq();
4179}
4180
4181void CClient::ServerBrowserUpdate()
4182{

Callers 2

OnInitMethod · 0.80
RenderLoadingMethod · 0.80

Calls 7

InputFunction · 0.85
GraphicsFunction · 0.85
time_getFunction · 0.85
time_freqFunction · 0.85
SwapMethod · 0.80
UpdateMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected