summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_triangle.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-06-10 14:36:55 +0000
committerBrian Paul <[email protected]>2005-06-10 14:36:55 +0000
commit5d6ecf25f89b152638f68ba683611f73c51b52a4 (patch)
tree39d4700904ba12e32146cbeb6baab33760c4394c /src/mesa/swrast/s_triangle.c
parentb4979ec178fd87d80666e201c91220d9ecc6363d (diff)
pass mask array to PutRowRGB() in simple_z_textured_triangle()
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-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 4b7e42b6ecb..b8369b2f274 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"