From a32a8c7ca85608c26ae1ec061f4b855cfefe93a8 Mon Sep 17 00:00:00 2001 From: Richard Rauch Date: Wed, 29 Oct 2003 06:43:32 +0000 Subject: [PATCH] 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 --- src/freeglut_misc.c | 12 ------------ 1 file changed, 12 deletions(-) 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 ); } -- 1.7.10.4