From 4092fbd55ac92a59d09d5167ced328683bed049c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 21 Sep 2005 02:46:17 +0000 Subject: replace GLdepth with GLuint --- src/mesa/drivers/osmesa/osmesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/osmesa/osmesa.c') diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 79ad3a7edc..e4cb27d116 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -464,7 +464,7 @@ osmesa_choose_line_function( GLcontext *ctx ) GLuint i; \ GLchan *img = PIXELADDR4(span.x, span.y); \ for (i = 0; i < span.end; i++, img += 4) { \ - const GLdepth z = FixedToDepth(span.z); \ + const GLuint z = FixedToDepth(span.z); \ if (z < zRow[i]) { \ PACK_RGBA(img, FixedToChan(span.red), \ FixedToChan(span.green), FixedToChan(span.blue), \ @@ -501,7 +501,7 @@ osmesa_choose_line_function( GLcontext *ctx ) GLuint i; \ GLuint *img = (GLuint *) PIXELADDR4(span.x, span.y); \ for (i = 0; i < span.end; i++) { \ - const GLdepth z = FixedToDepth(span.z); \ + const GLuint z = FixedToDepth(span.z); \ if (z < zRow[i]) { \ img[i] = pixel; \ zRow[i] = z; \ -- cgit v1.2.3