Added glfwGetWindowPos.

This commit is contained in:
Camilla Berglund
2010-09-14 03:53:22 +02:00
parent f0033aa47f
commit 318f731e3e
6 changed files with 34 additions and 0 deletions
+3
View File
@@ -906,6 +906,9 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
case WM_MOVE:
{
window->positionX = LOWORD(lParam);
window->positionY = HIWORD(lParam);
// If the mouse is locked, update the clipping rect
if (window == _glfwLibrary.cursorLockWindow)
{