[PATCH 1/2] exa: check if the pixmap is pinned for unsupported AUX indices.
Maarten Maathuis
madman2003 at gmail.com
Wed Mar 18 10:38:33 PDT 2009
---
exa/exa.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/exa/exa.c b/exa/exa.c
index 7145e12..3fcb3e2 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -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;
}
--
1.6.2
More information about the xorg-devel
mailing list