summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-08-24 14:10:13 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-08-24 14:10:13 +0200
commitd0f0d1092c7587a02404e1db07740e6334462ba6 (patch)
tree26be7c51a271fa490e4760e3218865e7189371fd
parent5d9e2c282145897008d7d941e2a0a3fdc71f2373 (diff)
exaGetImage: Don't migrate pixmap out of FB with no DownloadFromScreen hook.
Based on the assumption that GetImage is relatively rare, so the overhead of the migration is probably bigger than any potential savings.
-rw-r--r--exa/exa_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index 3af5c6eb1..692f2b8c3 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -1357,7 +1357,7 @@ exaGetImage (DrawablePtr pDrawable, int x, int y, int w, int h,
goto fallback;
if (pExaScr->info->DownloadFromScreen == NULL)
- goto migrate_and_fallback;
+ goto fallback;
/* Only cover the ZPixmap, solid copy case. */
if (format != ZPixmap || !EXA_PM_IS_SOLID(pDrawable, planeMask))