X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_misc.c;h=281325227aa3e9419ed91f99b5ddd370a5a9c8f7;hb=0b29e3bf6d3736fa2dac4dfd792db622d490f004;hp=e232d6de8840b972ceebc4179fa227cd396e5a6f;hpb=4f58e4f75c3d57437da215f4119e9991b77272e0;p=freeglut diff --git a/src/freeglut_misc.c b/src/freeglut_misc.c index e232d6d..2813252 100644 --- a/src/freeglut_misc.c +++ b/src/freeglut_misc.c @@ -137,10 +137,12 @@ void FGAPIENTRY glutSetKeyRepeat( int repeatMode ) */ void FGAPIENTRY glutForceJoystickFunc( void ) { +#if !TARGET_HOST_WINCE freeglut_assert_ready; freeglut_return_if_fail( fgStructure.Window != NULL ); freeglut_return_if_fail( FETCH_WCB( *( fgStructure.Window ), Joystick ) ); fgJoystickPollWindow( fgStructure.Window ); +#endif /* !TARGET_HOST_WINCE */ } /*