mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user