From: Diederick Niehorster Date: Thu, 18 Apr 2013 01:53:21 +0000 (+0000) Subject: should not strip out GLUT_DISPLAY_CALLBACK at the end of processing work. It kills... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=2985bdd9bc82503cc3fab6b6eb60f4cce59c266c;p=freeglut should not strip out GLUT_DISPLAY_CALLBACK at the end of processing work. It kills the glutPostRedisplay inside the display callback method of getting your window continuously redrawn... git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1616 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/fg_main.c b/src/fg_main.c index 3b32f06..fb3d9db 100644 --- a/src/fg_main.c +++ b/src/fg_main.c @@ -436,9 +436,6 @@ void fgPlatformProcessWork(SFG_Window *window) { if( window->State.Visible ) fghRedrawWindow ( window ); - - /* Strip out display work that might have ended up on work list now as some of the above genereates callbacks */ - window->State.WorkMask &= ~GLUT_DISPLAY_WORK; } }