[PATCH] EXA/evergreen/ni: replace magic number

Alex Deucher alexdeucher at gmail.com
Wed Jul 31 06:26:24 PDT 2013


Pushed.

On Wed, Jul 31, 2013 at 6:01 AM, Grigori Goronzy <greg at chown.ath.cx> wrote:
> ---
>  src/evergreen_exa.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c
> index d8aff6a..5f0e110 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"));
>                 }
> --
> 1.8.1.2
>
> _______________________________________________
> xorg-driver-ati mailing list
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati


More information about the xorg-driver-ati mailing list