summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-08-11 22:13:01 +0000
committerEric Anholt <anholt@freebsd.org>2004-08-11 22:13:01 +0000
commit56520ecd5ceb9526541c241634b467eba6a8f7cf (patch)
tree3f8445b0ab4513aa06c768e6f31344bf7f9acbcc /render
parentf77f1d50723aceb5059a96f7a4068046b7961c51 (diff)
In CopyPicture, add missing call to ChangePicture to notify about the
changes that CopyPicture has done.
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