Fix setting of GLFW_MAXIMIZED hint

Caused by a bad rebase.

Fixes #738.
This commit is contained in:
Camilla Berglund 2016-04-17 13:44:07 +02:00
parent 95439ba529
commit 99dc2c48bd

View File

@ -339,7 +339,7 @@ GLFWAPI void glfwWindowHint(int hint, int value)
_glfw.hints.window.floating = value ? GLFW_TRUE : GLFW_FALSE;
break;
case GLFW_MAXIMIZED:
_glfw.hints.window.maximized = hint ? GLFW_TRUE : GLFW_FALSE;
_glfw.hints.window.maximized = value ? GLFW_TRUE : GLFW_FALSE;
break;
case GLFW_VISIBLE:
_glfw.hints.window.visible = value ? GLFW_TRUE : GLFW_FALSE;