From 42dc7ef4bfb8a8e5a70f6195e39ed757fc878dc7 Mon Sep 17 00:00:00 2001 From: dcnieho Date: Thu, 18 Apr 2013 01:53:21 +0000 Subject: [PATCH] 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 --- freeglut/freeglut/src/fg_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/freeglut/freeglut/src/fg_main.c b/freeglut/freeglut/src/fg_main.c index 3b32f06..fb3d9db 100644 --- a/freeglut/freeglut/src/fg_main.c +++ b/freeglut/freeglut/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; } }