summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-03 19:52:05 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-03 20:50:23 +0900
commitc193cc506f74443c805a0df42e3364b39245d265 (patch)
tree34895f4f98b3039cf341c394ef049f145713a7b6
parentd94c7063ec9e87dbefea386606f0f21cdbd1d6f3 (diff)
gallium: Don't forget to get overllaping blits working again.
-rw-r--r--src/gallium/auxiliary/util/u_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index c9e3abc88b..3dc9fdd11e 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -311,6 +311,7 @@ util_blit_pixels(struct blit_state *ctx,
assert(screen->is_format_supported(screen, dst->format, PIPE_TEXTURE));
if(dst->format == src->format && (dstX1 - dstX0) == srcW && (dstY1 - dstY0) == srcH) {
+ /* FIXME: this will most surely fail for overlapping rectangles */
pipe->surface_copy(pipe, FALSE,
dst, dstX0, dstY0, /* dest */
src, srcX0, srcY0, /* src */