diff options
author | Brian Paul <[email protected]> | 2005-09-20 04:45:26 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-20 04:45:26 +0000 |
commit | 14570e6d7ccf43b228d09d6fc01a45b2ba31947b (patch) | |
tree | 9a4d405b829776e6392b95b6d5b0d459a5af0f05 /src/mesa/swrast | |
parent | f39569f5509f9298cb5374b9758296d9149add9b (diff) |
compute z[i] as GLuint
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_aatritemp.h | 4 |
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); |