projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0bba03
)
fix zoomed depth copies (bug 10608)
author
Brian
<brian@yutani.localnet.net>
Wed, 11 Apr 2007 14:47:05 +0000
(08:47 -0600)
committer
Brian
<brian@yutani.localnet.net>
Wed, 11 Apr 2007 14:47:05 +0000
(08:47 -0600)
src/mesa/swrast/s_copypix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_copypix.c
b/src/mesa/swrast/s_copypix.c
index 8f37a3dc8e5a6b4b0922f3882f31bd2de6efff77..ae5bdab3ddad62068b3f964151b42500091a6449 100644
(file)
--- a/
src/mesa/swrast/s_copypix.c
+++ b/
src/mesa/swrast/s_copypix.c
@@
-536,8
+536,7
@@
copy_depth_pixels( GLcontext *ctx, GLint srcx, GLint srcy,
span.end = width;
if (fb->Visual.rgbMode) {
if (zoom)
- _swrast_write_zoomed_rgba_span(ctx, destx, desty, &span,
- span.array->rgba);
+ _swrast_write_zoomed_depth_span(ctx, destx, desty, &span);
else
_swrast_write_rgba_span(ctx, &span);
}