From 85bea6f17dc7815569a28e70423b704c476ed410 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 4 Oct 2024 20:51:14 +0300 Subject: [PATCH] fix: toggle fullscreen GLFW invalid enum error --- src/window/Window.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/window/Window.cpp b/src/window/Window.cpp index 3c66451c..c77f0d4c 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -343,7 +343,6 @@ void Window::toggleFullscreen() { settings->height.get(), GLFW_DONT_CARE ); - glfwSetWindowAttrib(window, GLFW_MAXIMIZED, GLFW_FALSE); } double xPos, yPos;