From 3f9e36e68297341f489d0e5eee9b3da443ff66f8 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Thu, 28 Dec 2023 19:29:45 +0300 Subject: [PATCH] Small fix --- src/engine.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine.cpp b/src/engine.cpp index ec647935..02160067 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -116,10 +116,8 @@ void Engine::mainloop() { Window::swapInterval(settings.display.swapInterval); } else { Window::swapInterval(1); - Window::swapBuffers(); } - - Window::swapBuffers(); + Window::swapBuffers(); Events::pollEvents(); } }