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:
parent
1fe1473fbb
commit
e8cfcd2247
@ -340,6 +340,9 @@ void fgError( const char *fmt, ... )
|
|||||||
|
|
||||||
va_end( ap );
|
va_end( ap );
|
||||||
|
|
||||||
|
if ( fgState.Initalized )
|
||||||
|
fgDeinitialize( );
|
||||||
|
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user