From: Jakob Bornecrantz Date: Mon, 16 Nov 2009 23:39:09 +0000 (+0100) Subject: st/xorg: Fix copy-pasto X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=648e8b4c46e9ab0374fdbe655321157125b7efe5;p=mesa.git st/xorg: Fix copy-pasto Thanks Alan. --- diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c index 93a3e1b8cf0..733bd53fca8 100644 --- a/src/gallium/state_trackers/xorg/xorg_composite.c +++ b/src/gallium/state_trackers/xorg/xorg_composite.c @@ -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; }