From 22b6c59f34b81e36aa7da2d7769121da2582a300 Mon Sep 17 00:00:00 2001 From: cjp 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: https://svn.code.sf.net/p/freeglut/code/trunk@353 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;