summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_zoom.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-02-17 15:41:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-02-17 15:41:05 +0000
commit85109b063c24945ec9d8e4878e961666cdf0039b (patch)
treeee6dfd75ed2ab314662ce5af0b70e0a6f73239e9 /src/mesa/swrast/s_zoom.c
parent04cbad84e8241ced16f146e36b6959e4c78cfac1 (diff)
fixed bad zoomed.zStep assignment (bug 687811)
Diffstat (limited to 'src/mesa/swrast/s_zoom.c')
-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 dbf2aefd31..a9c5eb8227 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) {