We only have pending redisplay callbacks when the window wants to be
authorSven Panne <sven.panne@aedion.de>
Wed, 6 Jul 2005 16:11:31 +0000 (16:11 +0000)
committerSven Panne <sven.panne@aedion.de>
Wed, 6 Jul 2005 16:11:31 +0000 (16:11 +0000)
commitbc334ead03b3a62a33b591d27f4a48dde987fc65
tree53d29d9610739fc2211b8962642053b40d3f02c9
parente2e41a85e979f3a2f9b14d583b40e9413dbea72c
We only have pending redisplay callbacks when the window wants to be
redisplayed *and* it is visible. Otherwise we won't redraw, anyway, and
immediately discover that there's still something to do, etc. etc., leading
to 100% CPU load.

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