Procházet zdrojové kódy

gallium: Don't forget to get overllaping blits working again.

tags/mesa_20090313
José Fonseca před 17 roky
rodič
revize
c193cc506f
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1
    0
      src/gallium/auxiliary/util/u_blit.c

+ 1
- 0
src/gallium/auxiliary/util/u_blit.c Zobrazit soubor

@@ -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 */

Načítá se…
Zrušit
Uložit