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
This commit is contained in:
parent
3f70f7bdf2
commit
22b6c59f34
@ -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;
|
||||
|
Reference in New Issue
Block a user