projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d063256
)
Added a call to fgDeinitialize() before the call to exit() in fgError().
author
Christopher John Purnell
<cjp@lost.org.uk>
Sat, 15 Nov 2003 16:52:46 +0000
(16:52 +0000)
committer
Christopher John Purnell
<cjp@lost.org.uk>
Sat, 15 Nov 2003 16:52:46 +0000
(16:52 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@350
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_main.c
patch
|
blob
|
history
diff --git
a/src/freeglut_main.c
b/src/freeglut_main.c
index
6a08d2d
..
bfa4fc7
100644
(file)
--- a/
src/freeglut_main.c
+++ b/
src/freeglut_main.c
@@
-340,6
+340,9
@@
void fgError( const char *fmt, ... )
va_end( ap );
+ if ( fgState.Initalized )
+ fgDeinitialize( );
+
exit( 1 );
}