X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_init.c;h=07f7528952980b249abff3a06a8fdffe9a2661f8;hb=eadfac5750a4b83b7054b528006d9abb2fa5696f;hp=a66bb166cfffce936d4899a914c059094f2fc444;hpb=481216ae30a9f573a56774fd7d8a300ab76d7189;p=freeglut diff --git a/src/Common/freeglut_init.c b/src/Common/freeglut_init.c index a66bb16..07f7528 100644 --- a/src/Common/freeglut_init.c +++ b/src/Common/freeglut_init.c @@ -648,16 +648,6 @@ void FGAPIENTRY glutInit( int* pargc, char** argv ) } } -#if TARGET_HOST_MS_WINDOWS -void (__cdecl *__glutExitFunc)( int return_value ) = NULL; - -void FGAPIENTRY __glutInitWithExit( int *pargc, char **argv, void (__cdecl *exit_function)(int) ) -{ - __glutExitFunc = exit_function; - glutInit(pargc, argv); -} -#endif - /* * Undoes all the "glutInit" stuff */