projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing the "fgDeinitialize" call properly per e-mail from John Tsiombikas dated 12...
[freeglut]
/
src
/
freeglut_structure.c
diff --git
a/src/freeglut_structure.c
b/src/freeglut_structure.c
index
ce3869b
..
c5a2d73
100644
(file)
--- a/
src/freeglut_structure.c
+++ b/
src/freeglut_structure.c
@@
-79,7
+79,9
@@
SFG_Window* fgCreateWindow( SFG_Window* parent, const char* title,
/* Initialize the object properties */
window->ID = ++fgStructure.WindowID;
+#if TARGET_HOST_POSIX_X11
window->State.OldHeight = window->State.OldWidth = -1;
+#endif
fgListInit( &window->Children );
if( parent )