remove unneeded casts

This commit is contained in:
Brian Paul
2004-03-09 18:04:04 +00:00
parent 1e4731f644
commit b2dd5095c4
+2 -2
View File
@@ -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