El Viernes, 13 de Febrero de 2004 01:29, Ville Syrjälä escribió:
mga? The poster said it was observed on ATI cards.
That's right. That's why I asked in the dri lists. I previously posted a similar mail in debian-powerpc and Michel Dänzer suggested that the problem could be DRI specific. I also have a nVidia card and everything works well there.
As Brian says, glPushAttrib() seems to bring OpenGL to an undefined state.
No, not glPushAttrib(). glPopAttrib() is where the problem probably occurs.
For instance, I have some lights in the scene which are positioned after camera movement so if I move the camera the lights remain pointing to the ground; then I have some objects pushing the GL_LIGHTING_BIT which causes the lights to be displaced as the camera moves, weird. If I don't use glPushAttrib() the scene renders properly.
The GL_CURRENT_BIT doesn't work either, color is not well restored after glPopAttrib().
Well, I guess the explanation is not quite clear. I could write a sample program to test glPushAttrib() if you want.
Great.
-Brian
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel