diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 8db2f4d64d3..c7f5a07e821 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -2041,7 +2041,8 @@ void util_blitter_blit_generic(struct blitter_context *blitter, } bool is_scaled = dstbox->width != abs(srcbox->width) || - dstbox->height != abs(srcbox->height); + dstbox->height != abs(srcbox->height) || + dstbox->depth != abs(srcbox->depth); if (src_has_stencil || !is_scaled) filter = PIPE_TEX_FILTER_NEAREST; |