From b2dd5095c42a2e1323c5ccf8d657c7b37d3e8c2e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 9 Mar 2004 18:04:04 +0000 Subject: remove unneeded casts --- src/mesa/swrast/s_aatritemp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index 61ee6f2fbf..53dd59fa9f 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 -- cgit v1.2.3