summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_copypix.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-11 09:04:18 -0600
committerBrian <brian@yutani.localnet.net>2007-04-11 09:04:18 -0600
commitb61d74c57589cf22f003ac7f9db3aa47fd1b3cb2 (patch)
tree5949b7250e53b98bb947df39469c8b3dd1ea6048 /src/mesa/swrast/s_copypix.c
parent9f66025f54a3a9cc33cba56ec7c9f59721ddbec7 (diff)
as with prev commit, also fix color index mode zoomed depth copies (bug 10608)
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
-rw-r--r--src/mesa/swrast/s_copypix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c
index ae5bdab3dd..dbbfc58c6f 100644
--- 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);
}