summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-21 02:46:17 +0000
committerBrian Paul <[email protected]>2005-09-21 02:46:17 +0000
commit4092fbd55ac92a59d09d5167ced328683bed049c (patch)
tree191b4ea6a9c266953da5c8177ceadd21ef06821e /src/mesa/drivers/osmesa
parent5bfb9356d6df4c8b1e177ebda01631d99355ba25 (diff)
replace GLdepth with GLuint
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 79ad3a7edca..e4cb27d1163 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; \