From 3e37bafab0a339021354b9c78f983d05d433d735 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 21 Sep 2005 02:47:32 +0000 Subject: replace GLdepth with GLuint and remove GLdepth --- src/mesa/swrast/s_span.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_span.c') diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 50463f4c61..38a7f95f27 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -313,7 +313,7 @@ _swrast_span_interpolate_z( const GLcontext *ctx, struct sw_span *span ) if (ctx->Visual.depthBits <= 16) { GLfixed zval = span->z; - GLdepth *z = span->array->z; + GLuint *z = span->array->z; for (i = 0; i < n; i++) { z[i] = FixedToInt(zval); zval += span->zStep; @@ -322,7 +322,7 @@ _swrast_span_interpolate_z( const GLcontext *ctx, struct sw_span *span ) else { /* Deep Z buffer, no fixed->int shift */ GLuint zval = span->z; - GLdepth *z = span->array->z; + GLuint *z = span->array->z; for (i = 0; i < n; i++) { z[i] = zval; zval += span->zStep; -- cgit v1.2.3