summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-06-10 14:36:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-06-10 14:36:55 +0000
commit5d6ecf25f89b152638f68ba683611f73c51b52a4 (patch)
tree39d4700904ba12e32146cbeb6baab33760c4394c
parentb4979ec178fd87d80666e201c91220d9ecc6363d (diff)
pass mask array to PutRowRGB() in simple_z_textured_triangle()
-rw-r--r--src/mesa/swrast/s_triangle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c
index 4b7e42b6ec..b8369b2f27 100644
--- a/src/mesa/swrast/s_triangle.c
+++ b/src/mesa/swrast/s_triangle.c
@@ -237,7 +237,8 @@ _swrast_culltriangle( GLcontext *ctx,
span.intTex[1] += span.intTexStep[1]; \
span.z += span.zStep; \
} \
- rb->PutRowRGB(ctx, rb, span.end, span.x, span.y, span.array->rgb, NULL);
+ rb->PutRowRGB(ctx, rb, span.end, span.x, span.y, \
+ span.array->rgb, span.array->mask);
#include "s_tritemp.h"