From: Richard Rauch Date: Fri, 20 Feb 2004 05:05:35 +0000 (+0000) Subject: Fixed the bug where glutDisplayFunc() was effectively invoking X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=c466a2b89f6e2984080ee387922319be57fdca14;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@467 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_callbacks.c b/src/freeglut_callbacks.c index 7f2e23b..baaeee1 100644 --- a/src/freeglut_callbacks.c +++ b/src/freeglut_callbacks.c @@ -52,7 +52,6 @@ void FGAPIENTRY glutDisplayFunc( void (* callback)( void ) ) fgError( "Fatal error in program. NULL display callback not " "permitted in GLUT 3.0+ or freeglut 2.0.1+\n" ); SET_CALLBACK( Display ); - fgStructure.Window->State.Redisplay = GL_TRUE; } /*