|
|
@ -380,9 +380,9 @@ void _glfwPlatformPostEmptyEvent(void) |
|
|
|
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos) |
|
|
|
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (xpos) |
|
|
|
if (xpos) |
|
|
|
*xpos = window->wl.cursorX; |
|
|
|
*xpos = window->wl.cursorPosX; |
|
|
|
if (ypos) |
|
|
|
if (ypos) |
|
|
|
*ypos = window->wl.cursorY; |
|
|
|
*ypos = window->wl.cursorPosY; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y) |
|
|
|
void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y) |
|
|
|