summaryrefslogtreecommitdiff
path: root/render/mipict.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/mipict.c')
-rw-r--r--render/mipict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/mipict.c b/render/mipict.c
index 6407ff35a..8dbadbe9e 100644
--- a/render/mipict.c
+++ b/render/mipict.c
@@ -312,10 +312,10 @@ SourceValidateOnePicture(PicturePtr pPicture)
if (!pDrawable)
return;
- pScreen = pDrawable->pScreen;
+ pScreen = pPicture->pScreen;
if (pScreen->SourceValidate) {
- pScreen->SourceValidate(pDrawable, 0, 0, pDrawable->width,
+ pScreen->SourceValidate(pPicture->pScreen, pDrawable, 0, 0, pDrawable->width,
pDrawable->height, pPicture->subWindowMode);
}
}