diff options
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 01cd754e4ab..ab262beabc1 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -77,7 +77,7 @@ _swrast_culltriangle( GLcontext *ctx, #define INTERP_FOG 1 #define SETUP_CODE \ span.interpMask |= SPAN_INDEX; \ - span.index = IntToFixed(v2->index); \ + span.index = FloatToFixed(v2->index);\ span.indexStep = 0; #define RENDER_SPAN( span ) _swrast_write_index_span(ctx, &span); #include "s_tritemp.h" |