Got the last of the say-nothing-new comments in freeglut_misc.c.
authorRichard Rauch <rkr@olib.org>
Wed, 29 Oct 2003 06:43:32 +0000 (06:43 +0000)
committerRichard Rauch <rkr@olib.org>
Wed, 29 Oct 2003 06:43:32 +0000 (06:43 +0000)
(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

src/freeglut_misc.c

index 3d1ce5b..5891f4c 100644 (file)
@@ -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 );
 }