Renamed struct member to match x11 naming.

This commit is contained in:
Marcel Metz 2011-10-01 01:48:42 -04:00
parent 71af8b190f
commit d5def558d3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}