From: Brian Paul Date: Wed, 6 Feb 2002 03:22:00 +0000 (+0000) Subject: fixed typo in depth_test_pixels(), should fix reported VTK failures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2784dadafc82595e885fa3158ac8bdfb68c362a5;p=mesa.git fixed typo in depth_test_pixels(), should fix reported VTK failures --- 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;