summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-21 18:16:33 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-21 18:16:33 +0000
commit8bdc1ae358986aec81d4e6e3930a85f11680b73b (patch)
tree8b57db92f75364e288e6e51cb8375cdce81d3526 /src/mesa/swrast
parent978ef2bb6d9ca4996a24f95820a699e22c84f70b (diff)
add missing scale factor in _swrast_read_depth_span_float()
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index abc034c7f2..d5363fcef7 100644
--- a/src/mesa/swrast/s_depth.c
+++ b/src/mesa/swrast/s_depth.c
@@ -1252,7 +1252,7 @@ _swrast_read_depth_span_float( GLcontext *ctx, struct gl_renderbuffer *rb,
GLint i;
rb->GetRow(ctx, rb, n, x, y, temp);
for (i = 0; i < n; i++) {
- depth[i] = temp[i];
+ depth[i] = temp[i] * scale;
}
}
else {