Removed double mode for cursor mode.

This commit is contained in:
Camilla Berglund
2013-04-26 14:29:55 +02:00
parent 2d1b835711
commit 9264b5da0e
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -223,7 +223,7 @@ GLFWAPI int glfwGetInputMode(GLFWwindow* handle, int mode)
switch (mode)
{
case GLFW_CURSOR_MODE:
case GLFW_CURSOR:
return window->cursorMode;
case GLFW_STICKY_KEYS:
return window->stickyKeys;
@@ -243,7 +243,7 @@ GLFWAPI void glfwSetInputMode(GLFWwindow* handle, int mode, int value)
switch (mode)
{
case GLFW_CURSOR_MODE:
case GLFW_CURSOR:
setCursorMode(window, value);
break;
case GLFW_STICKY_KEYS: