Moving the "glutCreateWindowWithExit" and its associated variable to the Windows...
[freeglut] / src / Common / freeglut_window.c
index 1468627..cde6407 100644 (file)
@@ -986,14 +986,6 @@ int FGAPIENTRY glutCreateWindow( const char* title )
                            GL_FALSE, GL_FALSE )->ID;\r
 }\r
 \r
-#if TARGET_HOST_MS_WINDOWS\r
-int FGAPIENTRY __glutCreateWindowWithExit( const char *title, void (__cdecl *exit_function)(int) )\r
-{\r
-  __glutExitFunc = exit_function;\r
-  return glutCreateWindow( title );\r
-}\r
-#endif\r
-\r
 /*\r
  * This function creates a sub window.\r
  */\r