diff --git a/freeglut/freeglut/src/freeglut_callbacks.c b/freeglut/freeglut/src/freeglut_callbacks.c index f1f4b90..2dd2232 100644 --- a/freeglut/freeglut/src/freeglut_callbacks.c +++ b/freeglut/freeglut/src/freeglut_callbacks.c @@ -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 ) )