Added a call to fgDeinitialize() before the call to exit() in fgError().

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@350 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
cjp 2003-11-15 16:52:46 +00:00
parent 1fe1473fbb
commit e8cfcd2247

View File

@ -340,6 +340,9 @@ void fgError( const char *fmt, ... )
va_end( ap ); va_end( ap );
if ( fgState.Initalized )
fgDeinitialize( );
exit( 1 ); exit( 1 );
} }