projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freeglut.lsm:3 Removed 'beta' label for next release, thanks to Bernhard Kaindl.
[freeglut]
/
src
/
freeglut_main.c
diff --git
a/src/freeglut_main.c
b/src/freeglut_main.c
index
5d6cfa1
..
f9c78ef
100644
(file)
--- a/
src/freeglut_main.c
+++ b/
src/freeglut_main.c
@@
-1048,6
+1048,11
@@
void FGAPIENTRY glutMainLoopEvent( void )
fghDisplayAll();
}
#endif
fghDisplayAll();
}
#endif
+
+ /*
+ * If an event caused a window to be closed, do the actual closing here
+ */
+ fgCloseWindows () ;
}
/*
}
/*
@@
-1095,11
+1100,6
@@
void FGAPIENTRY glutMainLoop( void )
glutMainLoopEvent () ;
/*
glutMainLoopEvent () ;
/*
- * If an event caused a window to be closed, do the actual closing here
- */
- fgCloseWindows () ;
-
- /*
* If there are no more windows open, stop execution
*/
if ( fgStructure.Windows.First == NULL )
* If there are no more windows open, stop execution
*/
if ( fgStructure.Windows.First == NULL )