xorg: do not enable unnecessary blending for xv
authorRoland Scheidegger <sroland@vmware.com>
Mon, 25 Jan 2010 15:43:33 +0000 (16:43 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 25 Jan 2010 15:43:33 +0000 (16:43 +0100)
src/gallium/state_trackers/xorg/xorg_xv.c

index c4580935c32c221ed869ddb151746d33798454a7..73c076fac43ca2607b0f3cc39b93580a89781372 100644 (file)
@@ -403,7 +403,7 @@ bind_blend_state(struct xorg_xv_port_priv *port)
    struct pipe_blend_state blend;
 
    memset(&blend, 0, sizeof(struct pipe_blend_state));
-   blend.rt[0].blend_enable = 1; /* XXX why? */
+   blend.rt[0].blend_enable = 0;
    blend.rt[0].colormask = PIPE_MASK_RGBA;
 
    /* porter&duff src */