We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb04b8 commit 463db82Copy full SHA for 463db82
Main.cpp
@@ -255,17 +255,15 @@ namespace RTE {
255
while (!System::IsSetToQuit()) {
256
bool serverUpdated = false;
257
updateStartTime = g_TimerMan.GetAbsoluteTime();
258
+ PollSDLEvents();
259
+ g_WindowMan.Update();
260
261
g_TimerMan.Update();
262
263
// Simulation update, as many times as the fixed update step allows in the span since last frame draw.
264
while (g_TimerMan.TimeForSimUpdate()) {
265
serverUpdated = false;
266
- PollSDLEvents();
-
267
- g_WindowMan.Update();
268
269
g_PerformanceMan.NewPerformanceSample();
270
g_PerformanceMan.UpdateMSPSU();
271
g_TimerMan.UpdateSim();
0 commit comments