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.
This commit is contained in:
Brian
2007-03-26 11:30:05 -06:00
parent b5d988dd19
commit 38a1c2b495
5 changed files with 46 additions and 2 deletions

View File

@@ -222,6 +222,9 @@ _swrast_span_default_fog( GLcontext *ctx, SWspan *span );
extern void
_swrast_span_default_color( GLcontext *ctx, SWspan *span );
extern void
_swrast_span_default_secondary_color(GLcontext *ctx, SWspan *span);
extern void
_swrast_span_default_texcoords( GLcontext *ctx, SWspan *span );