projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving the "glutCreateWindowWithExit" and its associated variable to the Windows...
[freeglut]
/
src
/
Common
/
freeglut_window.c
diff --git
a/src/Common/freeglut_window.c
b/src/Common/freeglut_window.c
index
1468627
..
cde6407
100644
(file)
--- 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;
\r
}
\r
\r
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
/*
\r
* This function creates a sub window.
\r
*/
\r