Adding further comments to the removal of the "atexit" call from the Windows build...
[freeglut] / src / freeglut_structure.c
index ce3869b..c5a2d73 100644 (file)
@@ -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 )