remove unneeded casts
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 9 Mar 2004 18:04:04 +0000 (18:04 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 9 Mar 2004 18:04:04 +0000 (18:04 +0000)
src/mesa/swrast/s_aatritemp.h

index 61ee6f2fbfd4007d0cc960108983553d60da1fd9..53dd59fa9f66b58f2d0ae258ee7303e9bb3b4ea3 100644 (file)
 #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