Got the last of the say-nothing-new comments in freeglut_misc.c.
(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: https://svn.code.sf.net/p/freeglut/code/trunk@257 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
9da07cd41f
commit
3365de2c4a
@ -152,20 +152,8 @@ void FGAPIENTRY glutSetKeyRepeat( int repeatMode )
|
||||
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 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user