EXA: Fall back in CompositeRects if the driver can't accelerate Composite.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=15780 .
This commit is contained in:
Michel Dänzer 2008-05-01 15:10:52 +02:00
parent 01c61f3d97
commit 3b8d53452c

View File

@ -345,6 +345,9 @@ exaTryDriverCompositeRects(CARD8 op,
struct _Pixmap scratch;
ExaMigrationRec pixmaps[2];
if (!pExaScr->info->PrepareComposite)
return -1;
pSrcPix = exaGetDrawablePixmap(pSrc->pDrawable);
pSrcExaPix = ExaGetPixmapPriv(pSrcPix);