From e4eba730604eaec5328988fb5236b461ad15de97 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 Nov 2001 16:11:32 +0000 Subject: use v2 color, not v0 in flat_ci_triangle() --- src/mesa/swrast/s_triangle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_triangle.c') diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 7d6a87ddfac..7c6a26aff31 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1,4 +1,4 @@ -/* $Id: s_triangle.c,v 1.40 2001/11/19 01:18:28 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.41 2001/11/28 16:11:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -92,7 +92,7 @@ static void flat_ci_triangle( GLcontext *ctx, span.fog += span.fogStep; \ } \ _mesa_write_monoindex_span(ctx, span.count, span.x, span.y, \ - zSpan, fogSpan, v0->index, NULL, GL_POLYGON ); + zSpan, fogSpan, v2->index, NULL, GL_POLYGON ); #include "s_tritemp.h" } -- cgit v1.2.3