(I would have picked them up before, but wanted the bug-fix and
conversion-to-error-message changes to go in before I did more
superficial stuff.)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@257
7f0cb862-5218-0410-a997-
914c9d46530a
void FGAPIENTRY glutForceJoystickFunc( void )
{
freeglut_assert_ready;
-
- /*
- * Is there a current window selected?
- */
freeglut_return_if_fail( fgStructure.Window != NULL );
-
- /*
- * Check if there is a joystick callback hooked to the current window
- */
freeglut_return_if_fail( fgStructure.Window->Callbacks.Joystick != NULL );
-
- /*
- * Poll the joystick now, using the current window's joystick callback
- */
fgJoystickPollWindow( fgStructure.Window );
}