summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-21 02:47:32 +0000
committerBrian Paul <[email protected]>2005-09-21 02:47:32 +0000
commit3e37bafab0a339021354b9c78f983d05d433d735 (patch)
tree624d1c39e30f8a74bf0860f9389cd772f9dfe0f5 /src/mesa/swrast/s_span.c
parent4092fbd55ac92a59d09d5167ced328683bed049c (diff)
replace GLdepth with GLuint and remove GLdepth
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 50463f4c61a..38a7f95f273 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;