summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_triangle.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-11-28 16:11:14 +0000
committerBrian Paul <[email protected]>2001-11-28 16:11:14 +0000
commiteb0ce107c7f6d7177b1b79fa6176d0d736034875 (patch)
tree363b18f2416cd53145cdc909df21ca5fdd504a89 /src/mesa/swrast/s_triangle.c
parentbfe6c71b9943e5456c16478c9b8ad383e2ad6319 (diff)
use v2 color, not v0 in flat_ci_triangle()
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-rw-r--r--src/mesa/swrast/s_triangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c
index 02c27d52968..b24ae14de8e 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.39 2001/09/19 22:21:13 brianp Exp $ */
+/* $Id: s_triangle.c,v 1.39.2.1 2001/11/28 16:11:14 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"
}