xf86-video-ati: Branch 'master'

Alex Deucher agd5f at kemper.freedesktop.org
Wed Jul 31 06:26:12 PDT 2013


 src/evergreen_exa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ae6bb18fefddb309920fa69c9b56c3a7f3db7b4
Author: Grigori Goronzy <greg at chown.ath.cx>
Date:   Wed Jul 31 12:01:20 2013 +0200

    EXA/evergreen/ni: replace magic number
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c
index ee5b06b..ccd102d 100644
--- a/src/evergreen_exa.c
+++ b/src/evergreen_exa.c
@@ -1111,7 +1111,7 @@ static Bool EVERGREENCheckComposite(int op, PicturePtr pSrcPicture,
 		if (EVERGREENBlendOp[op].src_alpha &&
 		    (EVERGREENBlendOp[op].blend_cntl & COLOR_SRCBLEND_mask) !=
 		    (BLEND_ZERO << COLOR_SRCBLEND_shift)) {
-		    if (pSrcPicture->pDrawable || op != 3)
+		    if (pSrcPicture->pDrawable || op != PictOpOver)
 			RADEON_FALLBACK(("Component alpha not supported with source "
 					 "alpha and source value blending.\n"));
 		}


More information about the xorg-commit mailing list