st/xorg: Fix copy-pasto
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 16 Nov 2009 23:39:09 +0000 (00:39 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 17 Nov 2009 00:48:53 +0000 (01:48 +0100)
Thanks Alan.

src/gallium/state_trackers/xorg/xorg_composite.c

index 93a3e1b8cf05bc14a13f2d7317fdbaf0e13e9ee6..733bd53fca8854511bbdcf781554b8c80d93e51d 100644 (file)
@@ -237,7 +237,7 @@ picture_format_fixups(struct exa_pixmap_priv *pSrc, PicturePtr pSrcPicture, bool
 
    if (pSrc->picture_format == pSrcPicture->format) {
       if (pSrc->picture_format == PICT_a8)
-         return mask ? FS_MASK_LUMINANCE : FS_MASK_LUMINANCE;
+         return mask ? FS_MASK_LUMINANCE : FS_SRC_LUMINANCE;
       return 0;
    }