mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
func name fix
This commit is contained in:
parent
8a073e4e8a
commit
815aa90489
3 changed files with 4 additions and 4 deletions
|
|
@ -120,7 +120,7 @@ void mainloop(Level* level, Assets* assets) {
|
|||
float delta = 0.0f;
|
||||
bool occlusion = true;
|
||||
bool devdata = false;
|
||||
Window::swapInterval(1);
|
||||
Window::swapInterval(0);
|
||||
while (!Window::isShouldClose()){
|
||||
frame++;
|
||||
float currentTime = glfwGetTime();
|
||||
|
|
@ -131,7 +131,7 @@ void mainloop(Level* level, Assets* assets) {
|
|||
Window::setShouldClose(true);
|
||||
}
|
||||
if (Events::jpressed(GLFW_KEY_TAB)){
|
||||
Events::toogleCursor();
|
||||
Events::toggleCursor();
|
||||
}
|
||||
if (Events::jpressed(GLFW_KEY_O)){
|
||||
occlusion = !occlusion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue