projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102d7df
)
added error check (John Fay)
author
Brian Paul
<brianp@vmware.com>
Wed, 16 Feb 2005 00:49:28 +0000
(
00:49
+0000)
committer
Brian Paul
<brianp@vmware.com>
Wed, 16 Feb 2005 00:49:28 +0000
(
00:49
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@569
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_callbacks.c
patch
|
blob
|
history
diff --git
a/src/freeglut_callbacks.c
b/src/freeglut_callbacks.c
index
f1f4b90
..
2dd2232
100644
(file)
--- a/
src/freeglut_callbacks.c
+++ b/
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 ) )