summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_depth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index fb466b03919..a62926cc42b 100644
--- a/src/mesa/swrast/s_depth.c
+++ b/src/mesa/swrast/s_depth.c
@@ -1,4 +1,4 @@
-/* $Id: s_depth.c,v 1.16 2002/02/04 15:59:29 brianp Exp $ */
+/* $Id: s_depth.c,v 1.17 2002/02/06 03:22:00 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1308,7 +1308,7 @@ depth_test_pixels( GLcontext *ctx, struct sw_span *span )
SWcontext *swrast = SWRAST_CONTEXT(ctx);
const GLuint n = span->end;
const GLint *x = span->xArray;
- const GLint *y = span->xArray;
+ const GLint *y = span->yArray;
const GLdepth *z = span->zArray;
GLubyte *mask = span->mask;