From: Brian Paul Date: Tue, 20 Sep 2005 04:45:26 +0000 (+0000) Subject: compute z[i] as GLuint X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14570e6d7ccf43b228d09d6fc01a45b2ba31947b;p=mesa.git compute z[i] as GLuint --- 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);