summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_depth.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-02-06 03:22:00 +0000
committerBrian Paul <[email protected]>2002-02-06 03:22:00 +0000
commit2784dadafc82595e885fa3158ac8bdfb68c362a5 (patch)
tree400b4f2bef67fd3f7259fad359edfa81424492d8 /src/mesa/swrast/s_depth.c
parentc4afba36c3d4b45105bbba3252a3bd7f501bee22 (diff)
fixed typo in depth_test_pixels(), should fix reported VTK failures
Diffstat (limited to 'src/mesa/swrast/s_depth.c')
-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;