From e3dcb53e6e7f27cd34ef109cc1120b60461d6e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 30 Mar 2011 02:19:32 +0200 Subject: [PATCH] u_blitter: remove invalid assertion --- src/gallium/auxiliary/util/u_blitter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 7a16187f5bc..485d3c9eba8 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -741,8 +741,6 @@ void util_blitter_copy_region(struct blitter_context *blitter, if (dst == src) { assert(!is_overlap(srcx, srcx + width, srcy, srcy + height, dstx, dstx + width, dsty, dsty + height)); - } else { - assert(dst->format == src->format); } assert(src->target < PIPE_MAX_TEXTURE_TYPES);