From b2dd5095c42a2e1323c5ccf8d657c7b37d3e8c2e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 9 Mar 2004 18:04:04 +0000 Subject: [PATCH] remove unneeded casts --- src/mesa/swrast/s_aatritemp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index 61ee6f2fbfd..53dd59fa9f6 100644 --- a/src/mesa/swrast/s_aatritemp.h +++ b/src/mesa/swrast/s_aatritemp.h @@ -164,10 +164,10 @@ #ifdef DO_INDEX if (ctx->Light.ShadeModel == GL_SMOOTH) { compute_plane(p0, p1, p2, (GLfloat) v0->index, - (GLfloat) v1->index, (GLfloat) v2->index, iPlane); + v1->index, v2->index, iPlane); } else { - constant_plane((GLfloat) v2->index, iPlane); + constant_plane(v2->index, iPlane); } span.arrayMask |= SPAN_INDEX; #endif -- 2.30.2