Moved the idle callback out of glutMainLoopEvent() and into
authorRichard Rauch <rkr@olib.org>
Sun, 26 Oct 2003 06:13:50 +0000 (06:13 +0000)
committerRichard Rauch <rkr@olib.org>
Sun, 26 Oct 2003 06:13:50 +0000 (06:13 +0000)
commit9d190efc04275b9c90f08ce2f70d0f9ff96c583a
tree725655fb505854ae86dc1103c5379cd3e08913a3
parent78330d209960186385d8878cba261fd0b1624d9d
Moved the idle callback out of glutMainLoopEvent() and into
glutMainLoop(), per discussion on the list.  The code looks okay,
to me, though I remain less than wholly convinced that treating idles
as special cases is the best way to go.  Still, a case can be made
for taking "non-event" idle callbacks out of the "event loop".
From an organizational perspective, I think that it's an improvement,
and it fixes a bug for at least one program.

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