as with prev commit, also fix color index mode zoomed depth copies (bug 10608)

This commit is contained in:
Brian 2007-04-11 09:04:18 -06:00
parent 9f66025f54
commit b61d74c575

View file

@ -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);
}