mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-26 18:20:48 +02: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:
parent
01c61f3d97
commit
3b8d53452c
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue