summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-12-26 15:51:55 +0100
committerMaarten Maathuis <madman2003@gmail.com>2008-12-26 15:51:55 +0100
commit027b440d4f9f0cdd46addff46fd2d5c44cd5c847 (patch)
treecb99e7cbf261d957d3e9be4782b92174aab39c57
parent89bbd07e9ddd688df81405151f9c6284fa3367a8 (diff)
exa: preparing as source and finishing access as mask is a bad idea
-rw-r--r--exa/exa_unaccel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index 64c06c7c0..c03048602 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -54,15 +54,15 @@ exaPrepareAccessGC(GCPtr pGC)
* Finishes access to the tile in the GC, if used.
*/
void
exaFinishAccessGC(GCPtr pGC)
{
if (pGC->fillStyle == FillTiled)
- exaFinishAccess(&pGC->tile.pixmap->drawable, EXA_PREPARE_MASK);
+ exaFinishAccess(&pGC->tile.pixmap->drawable, EXA_PREPARE_SRC);
if (pGC->stipple)
- exaFinishAccess(&pGC->stipple->drawable, EXA_PREPARE_SRC);
+ exaFinishAccess(&pGC->stipple->drawable, EXA_PREPARE_MASK);
}
#if DEBUG_TRACE_FALL
char
exaDrawableLocation(DrawablePtr pDrawable)
{