From c466a2b89f6e2984080ee387922319be57fdca14 Mon Sep 17 00:00:00 2001 From: Richard Rauch Date: Fri, 20 Feb 2004 05:05:35 +0000 Subject: [PATCH] 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 --- src/freeglut_callbacks.c | 1 - 1 file changed, 1 deletion(-) 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; } /* -- 1.7.10.4