From cd34db49025aa74a5575c30f7c4f193580c97708 Mon Sep 17 00:00:00 2001 From: brianp Date: Wed, 16 Feb 2005 00:49:28 +0000 Subject: [PATCH] added error check (John Fay) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@569 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_callbacks.c | 1 + 1 file changed, 1 insertion(+) 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 ) )