mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Merged cursor enter/leave callbacks.
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user