From 5d6ecf25f89b152638f68ba683611f73c51b52a4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 10 Jun 2005 14:36:55 +0000 Subject: pass mask array to PutRowRGB() in simple_z_textured_triangle() --- src/mesa/swrast/s_triangle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/swrast') 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" -- cgit v1.2.3