diff options
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 33418512..71a62075 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1087,8 +1087,12 @@ sna_pixmap_create_scratch(ScreenPtr screen, static unsigned small_copy(const RegionRec *region) { - if ((region->extents.x2 - region->extents.x1)*(region->extents.y2 - region->extents.y1) < 1024) + if ((region->extents.x2 - region->extents.x1)*(region->extents.y2 - region->extents.y1) < 1024) { + DBG(("%s: region:%dx%d\n", __FUNCTION__, + (region->extents.x2 - region->extents.x1), + (region->extents.y2 - region->extents.y1))); return COPY_SMALL; + } return 0; } |