projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial refactoring of callback macros to make sure all compilers are supported
[freeglut]
/
src
/
android
/
fg_cursor_android.c
diff --git
a/src/android/fg_cursor_android.c
b/src/android/fg_cursor_android.c
index
28838a9
..
fe599d1
100644
(file)
--- a/
src/android/fg_cursor_android.c
+++ b/
src/android/fg_cursor_android.c
@@
-28,7
+28,7
@@
void fgPlatformSetCursor ( SFG_Window *window, int cursorID )
{
void fgPlatformSetCursor ( SFG_Window *window, int cursorID )
{
- // No-op: no visible cursor on touchscreens
+ /* No-op: no visible cursor on touchscreens */
}
void fgPlatformWarpPointer ( int x, int y )
}
void fgPlatformWarpPointer ( int x, int y )
@@
-38,4
+38,5
@@
void fgPlatformWarpPointer ( int x, int y )
SFG_Window* window = fgStructure.CurrentWindow;
window->State.MouseX = x;
window->State.MouseY = y;
SFG_Window* window = fgStructure.CurrentWindow;
window->State.MouseX = x;
window->State.MouseY = y;
+ /* TODO: this should simulate a fake motion event */
}
}