gallium: don't enable stencil test if no stencil buffer.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 01:59:59 +0000 (19:59 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 01:59:59 +0000 (19:59 -0600)
commitd453042bc67cc94bb215d229b60e8cd70a80ff8d
tree63329d4c8afd2c5198058259dbe31635958c8319
parent6579440ea98e61871fe781c1c9c681645ddcc075
gallium: don't enable stencil test if no stencil buffer.

Also, if not doing two-sided stencil, set back-face state = front-face state.
src/mesa/state_tracker/st_atom_depth.c