mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Jul 2008 15:55:33 +0000 (09:55 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Jul 2008 15:55:33 +0000 (09:55 -0600)
commit2833d4e715d613384e413fe113d608b8daf0460d
treeaa60f291b2477590625b71d91a7b42796031fe26
parent6852ef64f34e5cdcd7f2b3f16f2db74f4d35868e
mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled

In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled.  Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.

Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
src/mesa/main/stencil.c