gallium: Don't forget to get overllaping blits working again.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 3 Jul 2008 10:52:05 +0000 (19:52 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 3 Jul 2008 11:50:23 +0000 (20:50 +0900)
src/gallium/auxiliary/util/u_blit.c

index c9e3abc88bee1cc79d135c17240c492d5e6179f3..3dc9fdd11e78a7c2ed92b65643147283213a2f81 100644 (file)
@@ -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 */