mirror of
https://github.com/glfw/glfw.git
synced 2025-04-07 22:43:06 +00:00
parent
460c34df4b
commit
656666e722
1 changed files with 2 additions and 2 deletions
|
@ -380,9 +380,9 @@ void _glfwPlatformPostEmptyEvent(void)
|
|||
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos)
|
||||
{
|
||||
if (xpos)
|
||||
*xpos = window->wl.cursorX;
|
||||
*xpos = window->wl.cursorPosX;
|
||||
if (ypos)
|
||||
*ypos = window->wl.cursorY;
|
||||
*ypos = window->wl.cursorPosY;
|
||||
}
|
||||
|
||||
void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y)
|
||||
|
|
Loading…
Add table
Reference in a new issue