From: Richard Rauch Date: Wed, 29 Oct 2003 06:43:32 +0000 (+0000) Subject: Got the last of the say-nothing-new comments in freeglut_misc.c. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=a32a8c7ca85608c26ae1ec061f4b855cfefe93a8;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@257 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_misc.c b/src/freeglut_misc.c index 3d1ce5b..5891f4c 100644 --- a/src/freeglut_misc.c +++ b/src/freeglut_misc.c @@ -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 ); }