mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Small fix
This commit is contained in:
parent
a1e3706c8f
commit
3f9e36e682
1 changed files with 1 additions and 3 deletions
|
|
@ -116,10 +116,8 @@ void Engine::mainloop() {
|
|||
Window::swapInterval(settings.display.swapInterval);
|
||||
} else {
|
||||
Window::swapInterval(1);
|
||||
Window::swapBuffers();
|
||||
}
|
||||
|
||||
Window::swapBuffers();
|
||||
Window::swapBuffers();
|
||||
Events::pollEvents();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue