pass mask array to PutRowRGB() in simple_z_textured_triangle()
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Jun 2005 14:36:55 +0000 (14:36 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Jun 2005 14:36:55 +0000 (14:36 +0000)
src/mesa/swrast/s_triangle.c

index 4b7e42b6ecb47a65c64a719226b5a0e9c53648d1..b8369b2f274a285bf5bb1bf68372ef730e196c0b 100644 (file)
@@ -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"