diff options
-rw-r--r-- | uxa/uxa-render.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index bcfe20eb..30934d0d 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -963,6 +963,10 @@ compatible_formats (CARD8 op, PicturePtr dst, PicturePtr src) if (src->format == PICT_a8b8g8r8 && dst->format == PICT_x8b8g8r8) return 1; + + /* xrgb is promoted to argb during image upload... */ + if (dst->format == PICT_a8r8g8b8 && src->format == PICT_x8r8g8b8) + return 1; } else if (op == PictOpOver) { if (src->alphaMap || dst->alphaMap) return 0; |