Fixed the bug where glutDisplayFunc() was effectively invoking

glutPostRedsiplay().  This is wrong on the face of it, and may be
at root for some of the annoying "timing" issues we've had with
redisplay events being called inappopriately.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@467 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
rkrolib 2004-02-20 05:05:35 +00:00
parent 3b23a58148
commit 517a32d77d

View File

@ -52,7 +52,6 @@ void FGAPIENTRY glutDisplayFunc( void (* callback)( void ) )
fgError( "Fatal error in program. NULL display callback not " fgError( "Fatal error in program. NULL display callback not "
"permitted in GLUT 3.0+ or freeglut 2.0.1+\n" ); "permitted in GLUT 3.0+ or freeglut 2.0.1+\n" );
SET_CALLBACK( Display ); SET_CALLBACK( Display );
fgStructure.Window->State.Redisplay = GL_TRUE;
} }
/* /*