fix: toggle fullscreen GLFW invalid enum error
This commit is contained in:
parent
f63ab345ea
commit
85bea6f17d
@ -343,7 +343,6 @@ void Window::toggleFullscreen() {
|
|||||||
settings->height.get(),
|
settings->height.get(),
|
||||||
GLFW_DONT_CARE
|
GLFW_DONT_CARE
|
||||||
);
|
);
|
||||||
glfwSetWindowAttrib(window, GLFW_MAXIMIZED, GLFW_FALSE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
double xPos, yPos;
|
double xPos, yPos;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user