projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the ugly ATEXIT_HACK from GLUT 3.7, making freeglut binary compatible with...
[freeglut]
/
src
/
freeglut_structure.c
diff --git
a/src/freeglut_structure.c
b/src/freeglut_structure.c
index
1d064b6
..
c1b9145
100644
(file)
--- a/
src/freeglut_structure.c
+++ b/
src/freeglut_structure.c
@@
-219,12
+219,6
@@
void fgDestroyWindow( SFG_Window* window )
fghClearCallBacks( window );
fgCloseWindow( window );
fghClearCallBacks( window );
fgCloseWindow( window );
-#if TARGET_HOST_UNIX_X11
- if (window->Window.FBConfig != NULL)
- {
- XFree( window->Window.FBConfig );
- }
-#endif
free( window );
if( fgStructure.CurrentWindow == window )
fgStructure.CurrentWindow = NULL;
free( window );
if( fgStructure.CurrentWindow == window )
fgStructure.CurrentWindow = NULL;