projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Taking care of keeping things mostly up-to-date
[freeglut]
/
src
/
freeglut_main.c
diff --git
a/src/freeglut_main.c
b/src/freeglut_main.c
index
fafb503
..
64c7884
100644
(file)
--- a/
src/freeglut_main.c
+++ b/
src/freeglut_main.c
@@
-265,7
+265,7
@@
static void fghcbCheckJoystickPolls( SFG_Window *window, SFG_Enumerator *enumera
/*
* Check if actually need to do the poll for the currently enumerated window:
*/
/*
* Check if actually need to do the poll for the currently enumerated window:
*/
- if( window->State.JoystickLastPoll + window->State.JoystickPollRate >= checkTime )
+ if( window->State.JoystickLastPoll + window->State.JoystickPollRate <= checkTime )
{
/*
* Yeah, that's it. Poll the joystick...
{
/*
* Yeah, that's it. Poll the joystick...