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_triangle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_triangle.c') diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 08796471c5..6ed405f053 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -218,7 +218,7 @@ _swrast_culltriangle( GLcontext *ctx, span.intTex[0] -= FIXED_HALF; /* off-by-one error? */ \ span.intTex[1] -= FIXED_HALF; \ for (i = 0; i < span.end; i++) { \ - const GLdepth z = FixedToDepth(span.z); \ + const GLuint z = FixedToDepth(span.z); \ if (z < zRow[i]) { \ GLint s = FixedToInt(span.intTex[0]) & smask; \ GLint t = FixedToInt(span.intTex[1]) & tmask; \ @@ -920,7 +920,7 @@ fast_persp_span(GLcontext *ctx, struct sw_span *span, const GLushort *zRow = (const GLushort *) \ rb->GetPointer(ctx, rb, span.x, span.y); \ for (i = 0; i < span.end; i++) { \ - GLdepth z = FixedToDepth(span.z); \ + GLuint z = FixedToDepth(span.z); \ if (z < zRow[i]) { \ q->Result++; \ } \ -- cgit v1.2.3