I have a strange behavior with following code only on ATI-graphiccards.
glPushAttrib (GL_ENABLE_BIT);
glDisable(GL_LIGHTING);
glBegin (GL_POINTS);
glVertex.....
glVertex.....
..
..
glEnd();
After this statement, my lighting isn't anymore correct. it's not
disabled but something else has changed. when i call glPushAttrib with
GL_LIGHTING_BIT everything is ok.
i read in the opengl reference that GL_ENABLE_BIT and also
GL_LIGHTING_BIT sould save the GL_LIGHTING flag on the attribute
stack.... so, there souldn't be any differnets????
I'am don't sure if is a driver-bug or something else.
Thanks, thomas
If, as you say, it is only on ATI graphics cards, it sounds like a bug
in their driver. You should report it to them.
--
Andy V