From: Chris P. <cj...@lo...> - 2000-02-01 00:32:47
|
I've just added OpenGL rendering of a mouse cursor image to fxglut. I've also been looking at the current freeglut snapshot as it uses OpenGL for the menus as I also intend to add those the fxglut. Appart from the lack of glutPostRedisplay()s I've notived a problem. There are lots of GL state setting that can change how GL polygons are drawn. Most of them are glEnable() flags. Most of them could have an adverse effect on any OpenGL rendering that glut does that the application was not expecting. The current freeglut menu code clears some of them plib does a couple more. What do people think? -- Christopher John Purnell | I thought I'd found a reason to live http://www.lost.org.uk/ | Just like before when I was a child --------------------------| Only to find that dreams made of sand What gods do you pray to? | Would just fall apart and slip through my hands |