From: <dc...@us...> - 2012-11-19 04:15:52
|
Revision: 1410 http://freeglut.svn.sourceforge.net/freeglut/?rev=1410&view=rev Author: dcnieho Date: 2012-11-19 04:15:46 +0000 (Mon, 19 Nov 2012) Log Message: ----------- backporting r973 Revision Links: -------------- http://freeglut.svn.sourceforge.net/freeglut/?rev=973&view=rev Modified Paths: -------------- tags/FG_2_8_1_RC1/freeglut/src/freeglut_init.c Modified: tags/FG_2_8_1_RC1/freeglut/src/freeglut_init.c =================================================================== --- tags/FG_2_8_1_RC1/freeglut/src/freeglut_init.c 2012-11-19 02:46:34 UTC (rev 1409) +++ tags/FG_2_8_1_RC1/freeglut/src/freeglut_init.c 2012-11-19 04:15:46 UTC (rev 1410) @@ -392,7 +392,10 @@ fgState.Initialised = GL_TRUE; /* 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. + * Any cleanup isn't needed on Windows anyway, the OS takes care of it.c + * see: http://blogs.msdn.com/b/oldnewthing/archive/2012/01/05/10253268.aspx + */ #if ( TARGET_HOST_MS_WINDOWS == 0 ) atexit(fgDeinitialize); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |