X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffreeglut_init_mswin.c;h=f80fe78803769031e384a286ba4d2674c88cc148;hb=1b5ee849ba61b667aeba474a7e03406196478bee;hp=ea7864152a4817b19ab0588b94980bc893806f4b;hpb=ceb03dbc35488c9a9f36476e58091456151cf6d0;p=freeglut diff --git a/src/mswin/freeglut_init_mswin.c b/src/mswin/freeglut_init_mswin.c index ea78641..f80fe78 100644 --- a/src/mswin/freeglut_init_mswin.c +++ b/src/mswin/freeglut_init_mswin.c @@ -27,7 +27,7 @@ #define FREEGLUT_BUILDING_LIB #include -#include "../Common/freeglut_internal.h" +#include "../fg_internal.h" @@ -121,9 +121,10 @@ void fgPlatformInitialize( const char* displayName ) 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. - * Any cleanup isn't needed on Windows anyway, the OS takes care of it.c + /* Avoid registering atexit callback on Win32 as it can result in an + * access 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. * see: http://blogs.msdn.com/b/oldnewthing/archive/2012/01/05/10253268.aspx */ /* atexit(fgDeinitialize); */