diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2009-03-17 10:45:21 +0100 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2009-03-18 19:36:18 +0100 |
commit | ec328783593339e33772301a8c5fea35fd63c0a2 (patch) | |
tree | 971646b2792b503c6349ad79936d36423b85332c | |
parent | 3992dd38caf33b343affd8d732c94880d1099dcf (diff) |
exa: check if the pixmap is pinned for unsupported AUX indices.
-rw-r--r-- | exa/exa.c | 2 |
1 files changed, 2 insertions, 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; } |