From 14570e6d7ccf43b228d09d6fc01a45b2ba31947b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Sep 2005 04:45:26 +0000 Subject: compute z[i] as GLuint --- 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 7f48bdd635..23c262f836 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); -- cgit v1.2.3