Small fix
This commit is contained in:
+1
-3
@@ -116,10 +116,8 @@ void Engine::mainloop() {
|
|||||||
Window::swapInterval(settings.display.swapInterval);
|
Window::swapInterval(settings.display.swapInterval);
|
||||||
} else {
|
} else {
|
||||||
Window::swapInterval(1);
|
Window::swapInterval(1);
|
||||||
Window::swapBuffers();
|
|
||||||
}
|
}
|
||||||
|
Window::swapBuffers();
|
||||||
Window::swapBuffers();
|
|
||||||
Events::pollEvents();
|
Events::pollEvents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user