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:
parent
8d979f3c7e
commit
42dc7ef4bf
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user