Small fix

This commit is contained in:
MihailRis
2023-12-28 19:29:45 +03:00
parent a1e3706c8f
commit 3f9e36e682
+1 -3
View File
@@ -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();
} }
} }