X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_window.c;h=cde640756c7dc9aaf2632f6fea39935122c69ded;hb=481216ae30a9f573a56774fd7d8a300ab76d7189;hp=1468627ac9f42ed237af566375bb63f95873c8be;hpb=9486b7d6a3bf0d00cc00ab98380e99810250aa84;p=freeglut diff --git a/src/Common/freeglut_window.c b/src/Common/freeglut_window.c index 1468627..cde6407 100644 --- a/src/Common/freeglut_window.c +++ b/src/Common/freeglut_window.c @@ -986,14 +986,6 @@ int FGAPIENTRY glutCreateWindow( const char* title ) GL_FALSE, GL_FALSE )->ID; } -#if TARGET_HOST_MS_WINDOWS -int FGAPIENTRY __glutCreateWindowWithExit( const char *title, void (__cdecl *exit_function)(int) ) -{ - __glutExitFunc = exit_function; - return glutCreateWindow( title ); -} -#endif - /* * This function creates a sub window. */