diff options
Diffstat (limited to 'exa/exa.c')
-rw-r--r-- | exa/exa.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -230,8 +230,6 @@ exaPrepareAccess(DrawablePtr pDrawable, int index) pPixmap = exaGetDrawablePixmap (pDrawable); - if (index == EXA_PREPARE_DEST) - exaDrawableDirty (pDrawable); if (exaPixmapIsOffscreen (pPixmap)) exaWaitSync (pDrawable->pScreen); else @@ -255,6 +253,9 @@ exaFinishAccess(DrawablePtr pDrawable, int index) ExaScreenPriv (pScreen); PixmapPtr pPixmap; + if (index == EXA_PREPARE_DEST) + exaDrawableDirty (pDrawable); + if (pExaScr->info->FinishAccess == NULL) return; |