mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 03:50:14 +01:00
exa: fix assert logic thinko from 361a9eb953
- I guess failing PrepareAccess is rare, since this a 3 year old bug.
(cherry picked from commit c662381a14)
This commit is contained in:
parent
5fcfeee41b
commit
6f7ab5a6ac
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ exaPrepareAccess(DrawablePtr pDrawable, int index)
|
|||
|
||||
if (!(*pExaScr->info->PrepareAccess) (pPixmap, index)) {
|
||||
ExaPixmapPriv (pPixmap);
|
||||
if (pExaPixmap->score != EXA_PIXMAP_SCORE_PINNED)
|
||||
if (pExaPixmap->score == EXA_PIXMAP_SCORE_PINNED)
|
||||
FatalError("Driver failed PrepareAccess on a pinned pixmap\n");
|
||||
exaMoveOutPixmap (pPixmap);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue