Pete Ratzlaff wrote:
> The current CVS version does not properly restore attributes with
> the glPushAttrib(GL_DEPTH_BUFFER_BIT) call. This applies only to
> the Mesa Voodoo driver, software works fine.
> 
> I've included a simple test program. It draws a spinning cube, and
> if given the command line argument "-pop" will do a (supposedly)
> harmless glPushAttrib()/glPopAttrib() pair of calls on startup.
> 
> To see the affects of the bug, run this program with the Voodoo
> driver with and without the "-pop" argument.

I'm at work and I can not check without my home Linux box, but I guess
that the Mesa core doesn't notify to the Glide driver to update the
driver internal state when the glPopAttrib() is called. Adding a
'(*ctx->Driver.UpdateState)(ctx);' in the right place should fix the
problem, I will check when I will back to home.

David

-- 

David Bucciarelli
[EMAIL PROTECTED]

Humanware S.r.l.
Via delle Belle Torri, Pisa, Italy
Tel: +39-050-570633
Fax: +39-050-973270
WWW: http://www-hmw.caribel.pisa.it



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to