From 2784dadafc82595e885fa3158ac8bdfb68c362a5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 6 Feb 2002 03:22:00 +0000 Subject: [PATCH] fixed typo in depth_test_pixels(), should fix reported VTK failures --- src/mesa/swrast/s_depth.c | 4 ++-- 1 file 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; -- 2.30.2