EXA: Do still return FALSE if the driver PrepareCopy hook failed...

Thanks to Stuart Bennett for pointing out the problem on IRC.
This commit is contained in:
Michel Dänzer 2008-07-31 16:54:33 +02:00
parent 68fd6604a1
commit 148175fb8b

View File

@ -1335,6 +1335,8 @@ exaFillRegionTiled (DrawablePtr pDrawable,
} }
(*pExaScr->info->DoneCopy) (pPixmap); (*pExaScr->info->DoneCopy) (pPixmap);
ret = TRUE;
} }
exaMarkSync(pDrawable->pScreen); exaMarkSync(pDrawable->pScreen);
@ -1343,7 +1345,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
REGION_TRANSLATE(pScreen, pRegion, -xoff, -yoff); REGION_TRANSLATE(pScreen, pRegion, -xoff, -yoff);
} }
return TRUE; return ret;
} }