X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_misc.c;h=18dab1255351829c21939603bdc5accff5de95fe;hb=e86b0a2f785267775a158a32da02779544960e6e;hp=4aa809ac439e1aa1607be331aad2b541beb4ea82;hpb=76169d74298feb3c4976af3f0f10376f56aec38d;p=freeglut diff --git a/src/Common/freeglut_misc.c b/src/Common/freeglut_misc.c index 4aa809a..18dab12 100644 --- a/src/Common/freeglut_misc.c +++ b/src/Common/freeglut_misc.c @@ -171,19 +171,6 @@ void FGAPIENTRY glutSetKeyRepeat( int repeatMode ) } /* - * Forces the joystick callback to be executed - */ -void FGAPIENTRY glutForceJoystickFunc( void ) -{ - FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutForceJoystickFunc" ); -#if !defined(_WIN32_WCE) - freeglut_return_if_fail( fgStructure.CurrentWindow != NULL ); - freeglut_return_if_fail( FETCH_WCB( *( fgStructure.CurrentWindow ), Joystick ) ); - fgJoystickPollWindow( fgStructure.CurrentWindow ); -#endif /* !defined(_WIN32_WCE) */ -} - -/* * */ void FGAPIENTRY glutSetColor( int nColor, GLfloat red, GLfloat green, GLfloat blue )