mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 01:10:33 +01:00
use v2 color, not v0 in flat_ci_triangle()
This commit is contained in:
parent
253270dfcc
commit
e4eba73060
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue