summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_trapezoids.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index 7796650c..64c23d4c 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -3680,7 +3680,8 @@ composite_unaligned_boxes_inplace(CARD8 op,
PicturePtr dst, int n, xTrapezoid *t,
bool force_fallback)
{
- if (!force_fallback) {
+ if (!force_fallback &&
+ (is_gpu(dst->pDrawable) || picture_is_gpu(src))) {
DBG(("%s: fallback -- not forcing\n", __FUNCTION__));
return false;
}