summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/swrast/s_zoom.c6
1 files changed, 3 insertions, 3 deletions
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) {