From 56520ecd5ceb9526541c241634b467eba6a8f7cf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 11 Aug 2004 22:13:01 +0000 Subject: In CopyPicture, add missing call to ChangePicture to notify about the changes that CopyPicture has done. --- render/picture.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render') 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 -- cgit v1.2.3