summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/picture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/picture.c b/render/picture.c
index 64e29a0cb..495fbff8b 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -1186,6 +1186,7 @@ CopyPicture (PicturePtr pSrc,
PicturePtr pDst)
{
PictureScreenPtr ps = GetPictureScreen(pSrc->pDrawable->pScreen);
+ Mask origMask = mask;
pDst->stateChanges |= mask;
@@ -1257,6 +1258,8 @@ CopyPicture (PicturePtr pSrc,
}
mask &= ~bit;
}
+
+ (*ps->ChangePicture)(pDst, origMask);
}
static void