X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_main.c;h=64c788454f13c46ec58fd52ea6f65de81322cd95;hb=075a7a7ef67011d9f2c2ae939bc287fa97fc1b8f;hp=fafb503cdceac31d6c9890a84be879756593af38;hpb=196f8047125330baeaf1df0ed8cdc610c578c091;p=freeglut diff --git a/src/freeglut_main.c b/src/freeglut_main.c index fafb503..64c7884 100644 --- 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: */ - if( window->State.JoystickLastPoll + window->State.JoystickPollRate >= checkTime ) + if( window->State.JoystickLastPoll + window->State.JoystickPollRate <= checkTime ) { /* * Yeah, that's it. Poll the joystick...