diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-11-28 16:11:32 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-11-28 16:11:32 +0000 |
commit | e4eba730604eaec5328988fb5236b461ad15de97 (patch) | |
tree | 27dfd54571f1ad5b3b36a05c3e722d0573621a93 /src/mesa | |
parent | 253270dfcce980c88be6b21204a0c13a0becb2de (diff) |
use v2 color, not v0 in flat_ci_triangle()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
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" } |