mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01: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);
|
Window::swapInterval(settings.display.swapInterval);
|
||||||
} else {
|
} else {
|
||||||
Window::swapInterval(1);
|
Window::swapInterval(1);
|
||||||
Window::swapBuffers();
|
|
||||||
}
|
}
|
||||||
|
Window::swapBuffers();
|
||||||
Window::swapBuffers();
|
|
||||||
Events::pollEvents();
|
Events::pollEvents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue