diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-08-17 19:57:02 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-08-17 19:57:02 +0200 |
commit | 421b7e8f12083e9518fa7deda968a2f73c9a0006 (patch) | |
tree | efa2202d712771fb6a8ca9d304706be627202c40 /exa | |
parent | 1e62e773273539352bc21b2da5262678dd3fc7df (diff) |
exa: fix assert logic thinko from 361a9eb953aaa38f8ebc057185de29e50f9eef26
- I guess failing PrepareAccess is rare, since this a 3 year old bug.
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -514,7 +514,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); } |