summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-20 04:34:29 +0000
committerBrian Paul <[email protected]>2005-09-20 04:34:29 +0000
commit7265556b9aa0367e9b5031e7cb15ed2a5d73866d (patch)
treebf00760d2c5e6566f228ea9c3af8f196b6aaa627 /src/mesa/swrast/s_span.c
parent22607975b49633a38ddf65127e26a30e9522d825 (diff)
Change zLeft and zval to GLuint. Seems to fix 32-bit Z computation
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index a9f6684a72b..50463f4c61a 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -321,7 +321,7 @@ _swrast_span_interpolate_z( const GLcontext *ctx, struct sw_span *span )
}
else {
/* Deep Z buffer, no fixed->int shift */
- GLfixed zval = span->z;
+ GLuint zval = span->z;
GLdepth *z = span->array->z;
for (i = 0; i < n; i++) {
z[i] = zval;