mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 19:58:09 +02:00
exa: check if the pixmap is pinned for unsupported AUX indices.
This commit is contained in:
parent
3992dd38ca
commit
ec32878359
1 changed files with 2 additions and 0 deletions
|
|
@ -585,6 +585,8 @@ ExaDoPrepareAccess(DrawablePtr pDrawable, int index)
|
|||
|
||||
if (index >= EXA_PREPARE_AUX_DEST &&
|
||||
!(pExaScr->info->flags & EXA_SUPPORTS_PREPARE_AUX)) {
|
||||
if (pExaPixmap->score == EXA_PIXMAP_SCORE_PINNED)
|
||||
FatalError("Unsupported AUX indices used on a pinned pixmap.\n");
|
||||
exaMoveOutPixmap (pPixmap);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue