diff --git a/freeglut/freeglut/src/freeglut_init.c b/freeglut/freeglut/src/freeglut_init.c index 5fabb61..539fe83 100644 --- a/freeglut/freeglut/src/freeglut_init.c +++ b/freeglut/freeglut/src/freeglut_init.c @@ -216,7 +216,7 @@ void fgDeinitialize( void ) return; } - fgState.Initalized = GL_FALSE; + /* fgState.Initalized = GL_FALSE; */ /* * If there was a menu created, destroy the rendering context @@ -237,6 +237,8 @@ void fgDeinitialize( void ) fgJoystickClose( ); + fgState.Initalized = GL_FALSE; + fgState.Position.X = -1; fgState.Position.Y = -1; fgState.Position.Use = GL_FALSE;