strip out GLUT_DISPLAY_CALLBACK from worklist _before_ calling display callback....
authorDiederick Niehorster <dcnieho@gmail.com>
Sat, 20 Apr 2013 14:04:06 +0000 (14:04 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Sat, 20 Apr 2013 14:04:06 +0000 (14:04 +0000)
commita857e58176328995447a10addf3ea74f54fe63ae
tree12387e322b5ab633eb2285f97675b985e4de60bc
parent2985bdd9bc82503cc3fab6b6eb60f4cce59c266c
strip out GLUT_DISPLAY_CALLBACK from worklist _before_ calling display callback. Any postredisplay in the display callback will then be honored, but no unnecessary redisplay work will be called due to redisplays queued during resize, visibility and other such processing

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1617 7f0cb862-5218-0410-a997-914c9d46530a
src/fg_main.c