From: Brian Paul Date: Mon, 17 Feb 2003 15:41:05 +0000 (+0000) Subject: fixed bad zoomed.zStep assignment (bug 687811) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85109b063c24945ec9d8e4878e961666cdf0039b;p=mesa.git fixed bad zoomed.zStep assignment (bug 687811) --- diff --git a/src/mesa/swrast/s_zoom.c b/src/mesa/swrast/s_zoom.c index dbf2aefd316..a9c5eb82275 100644 --- a/src/mesa/swrast/s_zoom.c +++ b/src/mesa/swrast/s_zoom.c @@ -1,10 +1,10 @@ -/* $Id: s_zoom.c,v 1.19 2002/12/05 04:48:53 brianp Exp $ */ +/* $Id: s_zoom.c,v 1.20 2003/02/17 15:41:05 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -62,7 +62,7 @@ zoom_span( GLcontext *ctx, const struct sw_span *span, zoomed.array = &zoomed_arrays; zoomed.z = span->z; - zoomed.zStep = span->z; + zoomed.zStep = span->zStep; /* span->zStep == 0 */ zoomed.fog = span->fog; zoomed.fogStep = span->fogStep; if (format == GL_RGBA || format == GL_RGB) {