From 11c8a0343cca5db622c5bcb917e92aa65a8444ff Mon Sep 17 00:00:00 2001 From: Christopher John Purnell Date: Sat, 15 Nov 2003 19:11:09 +0000 Subject: [PATCH] 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 --- src/freeglut_init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 1.7.10.4