summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-26 11:30:05 -0600
committerBrian <[email protected]>2007-03-26 11:30:05 -0600
commit38a1c2b4959d35236933c14d3944cce94283ca30 (patch)
treec82629e61cc04ad279deaeae578bc5e584d425ce /src/mesa/swrast/s_span.h
parentb5d988dd19291e4e1e6f18e4163c2acac66729de (diff)
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.
Diffstat (limited to 'src/mesa/swrast/s_span.h')
-rw-r--r--src/mesa/swrast/s_span.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h
index 8a9b9eb21c7..f650a27d665 100644
--- a/src/mesa/swrast/s_span.h
+++ b/src/mesa/swrast/s_span.h
@@ -223,6 +223,9 @@ 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 );
extern GLfloat