summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-09 18:04:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-09 18:04:04 +0000
commitb2dd5095c42a2e1323c5ccf8d657c7b37d3e8c2e (patch)
tree8aa9cb0b0e68c3f200968db2b2abbfc7918444ec
parent1e4731f6443a6efdfc4e425977490ddd5387caa3 (diff)
remove unneeded casts
-rw-r--r--src/mesa/swrast/s_aatritemp.h4
1 files changed, 2 insertions, 2 deletions
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