Added note.

This commit is contained in:
Camilla Berglund 2013-11-13 12:47:44 +01:00
parent 109e3d13ed
commit a5b6a306ae

View File

@ -684,6 +684,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
updateClipRect(window); updateClipRect(window);
} }
// NOTE: This cannot use LOWORD/HIWORD recommended by MSDN, as
// those macros do not handle negative window positions correctly
_glfwInputWindowPos(window, _glfwInputWindowPos(window,
GET_X_LPARAM(lParam), GET_X_LPARAM(lParam),
GET_Y_LPARAM(lParam)); GET_Y_LPARAM(lParam));