[Mesa-dev] [PATCH 1/3] mesa: fix glPushAttrib(0) / glPopAttrib() error

Emil Velikov emil.l.velikov at gmail.com
Tue May 26 13:05:43 PDT 2015


On 25/05/15 14:41, Brian Paul wrote:
> If the glPushAttrib() mask value was zero we didn't actually push
> anything onto the attribute stack.  A subsequent glPopAttrib() call
> would generate a GL_STACK_UNDERFLOW error.  Now push a dummy attribute
> in that case to prevent the error.
> 
> Mesa now matches nvidia's behavior.
If you feel that these cause significant headaches for game/app
developers feel free to throw in the stable tag on the series.

Thanks
Emil



More information about the mesa-dev mailing list