summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-20 04:45:26 +0000
committerBrian Paul <[email protected]>2005-09-20 04:45:26 +0000
commit14570e6d7ccf43b228d09d6fc01a45b2ba31947b (patch)
tree9a4d405b829776e6392b95b6d5b0d459a5af0f05 /src/mesa
parentf39569f5509f9298cb5374b9758296d9149add9b (diff)
compute z[i] as GLuint
Diffstat (limited to 'src/mesa')
-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 7f48bdd6359..23c262f8369 100644
--- a/src/mesa/swrast/s_aatritemp.h
+++ b/src/mesa/swrast/s_aatritemp.h
@@ -286,7 +286,7 @@
array->coverage[count] = coverage;
#endif
#ifdef DO_Z
- array->z[count] = (GLdepth) IROUND(solve_plane(cx, cy, zPlane));
+ array->z[count] = (GLuint) solve_plane(cx, cy, zPlane);
#endif
#ifdef DO_FOG
array->fog[count] = solve_plane(cx, cy, fogPlane);
@@ -390,7 +390,7 @@
array->coverage[ix] = coverage;
#endif
#ifdef DO_Z
- array->z[ix] = (GLdepth) IROUND(solve_plane(cx, cy, zPlane));
+ array->z[ix] = (GLuint) solve_plane(cx, cy, zPlane);
#endif
#ifdef DO_FOG
array->fog[ix] = solve_plane(cx, cy, fogPlane);