diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2013-07-31 12:01:20 +0200 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2013-07-31 09:25:27 -0400 |
commit | 2ae6bb18fefddb309920fa69c9b56c3a7f3db7b4 (patch) | |
tree | eaddf610c119bd051b53929671b3a64139a0e2da /src/evergreen_exa.c | |
parent | 6a278369c05a298a4367306d986467a9ceacae8c (diff) |
EXA/evergreen/ni: replace magic number
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/evergreen_exa.c')
-rw-r--r-- | src/evergreen_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c index ee5b06bc..ccd102d5 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")); } |