summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/gen2_render.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c
index 98a02cb4..e97e2d70 100644
--- a/src/sna/gen2_render.c
+++ b/src/sna/gen2_render.c
@@ -1258,6 +1258,17 @@ gen2_render_composite(struct sna *sna,
return FALSE;
}
+#if NO_COMPOSITE
+ if (mask)
+ return FALSE;
+
+ return sna_blt_composite(sna, op,
+ src, dst,
+ src_x, src_y,
+ dst_x, dst_y,
+ width, height, tmp);
+#endif
+
/* Try to use the BLT engine unless it implies a
* 3D -> 2D context switch.
*/