summaryrefslogtreecommitdiff
path: root/exa/exa_accel.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-07-31 16:54:33 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-07-31 16:54:33 +0200
commit148175fb8b365dcf00b13539b3f03ce33f3df707 (patch)
tree16ac8d4365a2db6c4572d110288aaf27a79ddced /exa/exa_accel.c
parent68fd6604a15b653d1fa244633eaaee9608a03ab3 (diff)
EXA: Do still return FALSE if the driver PrepareCopy hook failed...
Thanks to Stuart Bennett for pointing out the problem on IRC.
Diffstat (limited to 'exa/exa_accel.c')
-rw-r--r--exa/exa_accel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index 277ab1e87..48af459a2 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -1335,6 +1335,8 @@ exaFillRegionTiled (DrawablePtr pDrawable,
}
(*pExaScr->info->DoneCopy) (pPixmap);
+
+ ret = TRUE;
}
exaMarkSync(pDrawable->pScreen);
@@ -1343,7 +1345,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
REGION_TRANSLATE(pScreen, pRegion, -xoff, -yoff);
}
- return TRUE;
+ return ret;
}