Nigel Stewart's joystick fix (for hopefully all platforms), SourceForge bug 805481
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@186 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
0cd9efa394
commit
738fa38ef5
@ -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...
|
||||||
|
Reference in New Issue
Block a user