st/xorg: refix source over
authorZack Rusin <zackr@vmware.com>
Sun, 11 Oct 2009 16:54:11 +0000 (12:54 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 15 Oct 2009 19:23:04 +0000 (15:23 -0400)
src/gallium/state_trackers/xorg/xorg_composite.c

index b07192175e27d0c0cee49a586c46d94ca68350cb..d6483fb72c4203b3ff0dcdd7d74ea0be612860e4 100644 (file)
@@ -34,7 +34,7 @@ static const struct xorg_composite_blend xorg_blends[] = {
      PIPE_BLENDFACTOR_ONE, PIPE_BLENDFACTOR_ONE },
 
    { PictOpOver,
-     PIPE_BLENDFACTOR_ONE, PIPE_BLENDFACTOR_ONE,
+     PIPE_BLENDFACTOR_SRC_ALPHA, PIPE_BLENDFACTOR_ONE,
      PIPE_BLENDFACTOR_INV_SRC_ALPHA, PIPE_BLENDFACTOR_INV_SRC_ALPHA },
 
    { PictOpOverReverse,