projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
joystick updates from John Fay
[freeglut]
/
src
/
freeglut_cursor.c
diff --git
a/src/freeglut_cursor.c
b/src/freeglut_cursor.c
index
50f0b42
..
ef89405
100644
(file)
--- a/
src/freeglut_cursor.c
+++ b/
src/freeglut_cursor.c
@@
-186,7
+186,7
@@
void FGAPIENTRY glutSetCursor( int cursorID )
}
}
}
}
-#elif TARGET_HOST_WIN32
+#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE
/*
* This is a temporary solution only...
/*
* This is a temporary solution only...
@@
-250,16
+250,14
@@
void FGAPIENTRY glutWarpPointer( int x, int y )
);
XFlush( fgDisplay.Display ); /* XXX Is this really necessary? */
);
XFlush( fgDisplay.Display ); /* XXX Is this really necessary? */
-#elif TARGET_HOST_WIN32
+#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE
{
POINT coords;
coords.x = x;
coords.y = y;
{
POINT coords;
coords.x = x;
coords.y = y;
- /*
- * ClientToScreen() translates {coords} for us.
- */
+ /* ClientToScreen() translates {coords} for us. */
ClientToScreen( fgStructure.Window->Window.Handle, &coords );
SetCursorPos( coords.x, coords.y );
}
ClientToScreen( fgStructure.Window->Window.Handle, &coords );
SetCursorPos( coords.x, coords.y );
}