wrote macro for the special key checks (shift, alt, ctrl) to
[freeglut] / src / mswin / fg_cursor_mswin.c
index 1241e0a..bec1876 100644 (file)
@@ -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);