From 148175fb8b365dcf00b13539b3f03ce33f3df707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 31 Jul 2008 16:54:33 +0200 Subject: [PATCH] EXA: Do still return FALSE if the driver PrepareCopy hook failed... Thanks to Stuart Bennett for pointing out the problem on IRC. --- exa/exa_accel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }