diff options
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index b095cd2b..561747de 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1778,7 +1778,7 @@ move_to_gpu(PixmapPtr pixmap, struct sna_pixmap *priv, if (alu != GXcopy) return TRUE; - return ++priv->source_count * w*h >= 2 * pixmap->drawable.width * pixmap->drawable.height; + return ++priv->source_count * w*h >= (SOURCE_BIAS+2) * (int)pixmap->drawable.width * pixmap->drawable.height; } static void |