swrast: rewrite _swrast_read_stencil_span()
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
commit70df474941fa5bd45386370240427944784b7729
treef30e1c3e65badcb06fe575978bf31345b641a1fa
parent4d6b0927ab6533f0384f463e2ccfc3eb5f80ecf9
swrast: rewrite _swrast_read_stencil_span()

Use format pack/unpack functions instead of deprecated renderbuffer
GetRow/PutRow functions.

v2: use get_stencil_address(), s/destVals/newVals/

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/swrast/s_stencil.c