added error check (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@569 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
5653791bd0
commit
cd34db4902
@ -131,6 +131,7 @@ static void fghVisibility( int status )
|
||||
{
|
||||
int glut_status = GLUT_VISIBLE;
|
||||
|
||||
FREEGLUT_INTERNAL_ERROR_EXIT_IF_NOT_INITIALISED ( "Visibility Callback" );
|
||||
freeglut_return_if_fail( fgStructure.Window );
|
||||
|
||||
if( ( GLUT_HIDDEN == status ) || ( GLUT_FULLY_COVERED == status ) )
|
||||
|
Reference in New Issue
Block a user