gallium: fix state tracker's stencil buffer test
authorBrian Paul <brianp@vmware.com>
Fri, 27 Feb 2009 16:45:41 +0000 (09:45 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 27 Feb 2009 17:08:46 +0000 (10:08 -0700)
commit026465b9b1aebab98b6d519b75fe96d0ca9f4f51
tree44630a432fff437d4bdb66bded5b3d1d8a483012
parent5fc74734d92f7e7ff3df693254986ba5d2b5e653
gallium: fix state tracker's stencil buffer test

Need to check ctx->DrawBuffer->Visual.stencilBits not ctx->Visual.stencilBits
because the later only applies to the window system buffers, not user-created
FBOs.

This, plus the previous commit, fixes progs/tests/fbotexture.c
src/mesa/state_tracker/st_atom_depth.c