From c662381a14d2c69cc8b4aa1c66763cbaf6addc5d Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sun, 17 Aug 2008 19:57:02 +0200 Subject: [PATCH] exa: fix assert logic thinko from 361a9eb953aaa38f8ebc057185de29e50f9eef26 - I guess failing PrepareAccess is rare, since this a 3 year old bug. --- exa/exa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exa/exa.c b/exa/exa.c index 4bd3d81ba..100a1ec66 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -499,7 +499,7 @@ ExaDoPrepareAccess(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); }