summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-10-10 14:13:39 +1000
committerDave Airlie <airlied@redhat.com>2012-10-10 14:13:39 +1000
commitce51699744b951f3f0929a4c8cd6d2d003edec9c (patch)
treebe7c6800f1595033ee241cb310e0872dda23266f /render
parent2e34b59e364442cf56bd6b885e98ccaea1bcbc4d (diff)
sourcevalidate: add a screen
Diffstat (limited to 'render')
-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);
}
}