Add _swrast_span_default_secondary_color() for use with glBitmap, glDrawPixels, etc.
authorBrian <brian@yutani.localnet.net>
Mon, 26 Mar 2007 17:30:05 +0000 (11:30 -0600)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Mar 2007 17:30:05 +0000 (11:30 -0600)
commit38a1c2b4959d35236933c14d3944cce94283ca30
treec82629e61cc04ad279deaeae578bc5e584d425ce
parentb5d988dd19291e4e1e6f18e4163c2acac66729de
Add _swrast_span_default_secondary_color() for use with glBitmap, glDrawPixels, etc.

Secondary color wasn't getting added to post-texture color when drawing
bitmaps, images.  See bug 10409.
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_span.h