compute z[i] as GLuint
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 Sep 2005 04:45:26 +0000 (04:45 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 Sep 2005 04:45:26 +0000 (04:45 +0000)
src/mesa/swrast/s_aatritemp.h

index 7f48bdd6359bde6571b889b46a6ebbff9b456f1c..23c262f83693b0263dd8884abc067363978a93cb 100644 (file)
             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);
             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);