X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_cursor_mswin.c;fp=src%2Fmswin%2Ffg_cursor_mswin.c;h=bec1876c6c1b10eed96337d1d9516efe20f66ef9;hb=450b0d2bd03f4d7721fa2fe5f54f38d787accb06;hp=1241e0a5ef1c6d7267827ac98a3d90b9860f5a40;hpb=d9de8ec42b076f875059acf8c02299689c9aa756;p=freeglut diff --git a/src/mswin/fg_cursor_mswin.c b/src/mswin/fg_cursor_mswin.c index 1241e0a..bec1876 100644 --- a/src/mswin/fg_cursor_mswin.c +++ b/src/mswin/fg_cursor_mswin.c @@ -115,6 +115,8 @@ void fgPlatformWarpPointer ( int x, int y ) void fghPlatformGetCursorPos(SFG_XYUse *mouse_pos) { + /* Get current pointer location in screen coordinates + */ POINT pos; GetCursorPos(&pos);