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 b071921..d6483fb 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,