Major menu changes (they appear in their own window, have own rendering context)...
[freeglut] / src / freeglut_callbacks.c
index b741a0c..ef404f7 100644 (file)
 void FGAPIENTRY glutDisplayFunc( void (* callback)( void ) )
 {
     SET_CALLBACK( Display );
+
+    /*
+     * Force a redisplay with the new callback
+     */
+    fgStructure.Window->State.Redisplay = TRUE;
+
 }
 
 /*