projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implemented position callback on windows and some other minor edits
[freeglut]
/
src
/
mswin
/
fg_cursor_mswin.c
diff --git
a/src/mswin/fg_cursor_mswin.c
b/src/mswin/fg_cursor_mswin.c
index
1241e0a
..
bec1876
100644
(file)
--- 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);