projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978ef2b
)
add missing scale factor in _swrast_read_depth_span_float()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 21 Sep 2005 18:16:33 +0000
(18:16 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 21 Sep 2005 18:16:33 +0000
(18:16 +0000)
src/mesa/swrast/s_depth.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_depth.c
b/src/mesa/swrast/s_depth.c
index abc034c7f244c8347b0e43482b5658ee97075aaf..d5363fcef76ac1d11338b0727cbbd1edc0a68234 100644
(file)
--- 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 {