mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Renamed struct member to match x11 naming.
This commit is contained in:
parent
71af8b190f
commit
d5def558d3
@ -251,7 +251,7 @@ typedef struct _GLFWwindowWin32
|
||||
|
||||
// Various platform specific internal variables
|
||||
int desiredRefreshRate; // Desired vertical monitor refresh rate
|
||||
GLboolean mouseMoved;
|
||||
GLboolean cursorCentered;
|
||||
int oldMouseX, oldMouseY;
|
||||
} _GLFWwindowWin32;
|
||||
|
||||
|
@ -1763,7 +1763,7 @@ void _glfwPlatformPollEvents(void)
|
||||
window = _glfwLibrary.activeWindow;
|
||||
if (window)
|
||||
{
|
||||
window->Win32.mouseMoved = GL_FALSE;
|
||||
window->Win32.cursorCentered = GL_TRUE;
|
||||
window->Win32.oldMouseX = window->width / 2;
|
||||
window->Win32.oldMouseY = window->height / 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user