From 2985bdd9bc82503cc3fab6b6eb60f4cce59c266c Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Thu, 18 Apr 2013 01:53:21 +0000 Subject: [PATCH 1/1] 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 --- src/fg_main.c | 3 --- 1 file changed, 3 deletions(-) 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; } } -- 1.7.10.4