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: https://svn.code.sf.net/p/freeglut/code/trunk@1616 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-04-18 01:53:21 +00:00
parent 8d979f3c7e
commit 42dc7ef4bf

View File

@ -436,9 +436,6 @@ void fgPlatformProcessWork(SFG_Window *window)
{ {
if( window->State.Visible ) if( window->State.Visible )
fghRedrawWindow ( window ); 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;
} }
} }