Fixing the "fgDeinitialize" call properly per e-mail from John Tsiombikas dated 12/19/11 at 7:07 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@959 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
74a3090e96
commit
7540c81b88
@ -393,7 +393,7 @@ static void fghInitialize( const char* displayName )
|
|||||||
|
|
||||||
/* Avoid registering atexit callback on Win32 as it results in an access
|
/* Avoid registering atexit callback on Win32 as it results in an access
|
||||||
* violation due to calling into a module which has been unloaded. */
|
* violation due to calling into a module which has been unloaded. */
|
||||||
#ifndef TARGET_HOST_MS_WINDOWS
|
#if ( TARGET_HOST_MS_WINDOWS == 0 )
|
||||||
atexit(fgDeinitialize);
|
atexit(fgDeinitialize);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user