mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 15:25:50 +00:00
Fixed fullscreen regressions.
This commit is contained in:
+1
-1
@@ -367,7 +367,7 @@ GLFWAPI GLFWwindow glfwCreateWindow(int width, int height,
|
||||
if (mode == GLFW_FULLSCREEN)
|
||||
glfwSetInputMode(window, GLFW_CURSOR_MODE, GLFW_CURSOR_CAPTURED);
|
||||
|
||||
if (mode == GLFW_FULLSCREEN || wndconfig.visible)
|
||||
if (mode == GLFW_WINDOWED && wndconfig.visible)
|
||||
glfwShowWindow(window);
|
||||
|
||||
return window;
|
||||
|
||||
Reference in New Issue
Block a user