In CopyPicture, add missing call to ChangePicture to notify about the

changes that CopyPicture has done.
This commit is contained in:
Eric Anholt 2004-08-11 22:13:01 +00:00
parent f77f1d5072
commit 56520ecd5c

View File

@ -1186,6 +1186,7 @@ CopyPicture (PicturePtr pSrc,
PicturePtr pDst) PicturePtr pDst)
{ {
PictureScreenPtr ps = GetPictureScreen(pSrc->pDrawable->pScreen); PictureScreenPtr ps = GetPictureScreen(pSrc->pDrawable->pScreen);
Mask origMask = mask;
pDst->stateChanges |= mask; pDst->stateChanges |= mask;
@ -1257,6 +1258,8 @@ CopyPicture (PicturePtr pSrc,
} }
mask &= ~bit; mask &= ~bit;
} }
(*ps->ChangePicture)(pDst, origMask);
} }
static void static void