From: Christopher John Purnell Date: Sat, 15 Nov 2003 19:11:09 +0000 (+0000) Subject: freeglut_assert_ready is going to have to go at some point. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=11c8a0343cca5db622c5bcb917e92aa65a8444ff;hp=074fe7a4ceb20811af83f735d5db74d69d11442c;p=freeglut freeglut_assert_ready is going to have to go at some point. But for now I've moved setting fgState.Initalized to GL_FALSE. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@353 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_init.c b/src/freeglut_init.c index 5fabb61..539fe83 100644 --- a/src/freeglut_init.c +++ b/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;