summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-09-17 16:59:03 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-09-17 17:42:55 +0200
commitd5738ff2e0f93df4729c075ce31a1041d580e50e (patch)
tree763365e8973fd3050b941018130dd3218e5b890a /exa
parenta0dafd95e1e13a2f1b77ab9f82fd365a7be19de5 (diff)
EXA: Added missing exaPrepare/FinishAccess calls in ExaCheckPushPixels.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_unaccel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index d487dc5f2..aecbfeb2d 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -258,9 +258,11 @@ ExaCheckPushPixels (GCPtr pGC, PixmapPtr pBitmap,
exaDrawableLocation(&pBitmap->drawable),
exaDrawableLocation(pDrawable)));
exaPrepareAccess (pDrawable, EXA_PREPARE_DEST);
+ exaPrepareAccess (pBitmap, EXA_PREPARE_SRC);
exaPrepareAccessGC (pGC);
fbPushPixels (pGC, pBitmap, pDrawable, w, h, x, y);
exaFinishAccessGC (pGC);
+ exaFinishAccess (pBitmap, EXA_PREPARE_SRC);
exaFinishAccess (pDrawable, EXA_PREPARE_DEST);
}