Merged cursor enter/leave callbacks.

This commit is contained in:
Camilla Berglund
2012-01-30 22:59:38 +01:00
parent e5d85a5cc4
commit c4806b9532
5 changed files with 13 additions and 47 deletions
+2 -2
View File
@@ -1194,7 +1194,7 @@ static void processSingleEvent(void)
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
hideMouseCursor(window);
_glfwInputCursorEnter(window);
_glfwInputCursorEnter(window, GL_TRUE);
break;
}
@@ -1211,7 +1211,7 @@ static void processSingleEvent(void)
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
showMouseCursor(window);
_glfwInputCursorLeave(window);
_glfwInputCursorEnter(window, GL_FALSE);
break;
}