projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f66025
)
as with prev commit, also fix color index mode zoomed depth copies (bug 10608)
author
Brian
<brian@yutani.localnet.net>
Wed, 11 Apr 2007 15:04:18 +0000
(09:04 -0600)
committer
Brian
<brian@yutani.localnet.net>
Wed, 11 Apr 2007 15:04:18 +0000
(09:04 -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 ae5bdab3ddad62068b3f964151b42500091a6449..dbbfc58c6fdfa3a57ebdb2267d4524907914e880 100644
(file)
--- a/
src/mesa/swrast/s_copypix.c
+++ b/
src/mesa/swrast/s_copypix.c
@@
-542,7
+542,7
@@
copy_depth_pixels( GLcontext *ctx, GLint srcx, GLint srcy,
}
else {
if (zoom)
- _swrast_write_zoomed_
index
_span(ctx, destx, desty, &span);
+ _swrast_write_zoomed_
depth
_span(ctx, destx, desty, &span);
else
_swrast_write_index_span(ctx, &span);
}