swrast: Use GL_STENCIL_INDEX for address calculations
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Aug 2011 21:06:00 +0000 (14:06 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Sep 2011 19:09:28 +0000 (12:09 -0700)
commitd7cb905a5a6e3ad7af1518d8e74620de729a2477
tree2efd49976d85378e07a998c32a7f47f474dba857
parente174b5d4835c99d06fbffbacabe4ee1f467a09e0
swrast: Use GL_STENCIL_INDEX for address calculations

GL_COLOR_INDEX produced the same result (because GL_BITMAP is always
used for stencil glDrawPixels), but it was confusing to read.  I spent
about 15 minutes wondering, "WTF?"

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/swrast/s_drawpix.c