summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-05-09 22:36:01 +0000
committerAdam Jackson <ajax@nwnk.net>2006-05-09 22:36:01 +0000
commitab1a0249ba5e3174f18a1db212bc511fd7d74cb0 (patch)
tree207a944fc408772b9283690e81e70f7a8f37d1f1 /render
parent24310f827b71009c7510a674d2f92ced89847e37 (diff)
Bug #6867: Yet another Render crash fix. (Michel Dänzer)
Diffstat (limited to 'render')
-rw-r--r--render/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/render.c b/render/render.c
index 6cd862162..73522ee66 100644
--- a/render/render.c
+++ b/render/render.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xserver/xorg/render/render.c,v 1.12 2005/08/28 19:47:39 ajax Exp $ */
+/* $XdotOrg: xserver/xorg/render/render.c,v 1.13 2006/02/10 22:00:30 anholt Exp $ */
/*
* $XFree86: xc/programs/Xserver/render/render.c,v 1.27tsi Exp $
*
@@ -747,7 +747,7 @@ ProcRenderComposite (ClientPtr client)
VERIFY_ALPHA (pMask, stuff->mask, client, SecurityReadAccess,
RenderErrBase + BadPicture);
if ((pSrc->pDrawable && pSrc->pDrawable->pScreen != pDst->pDrawable->pScreen) ||
- (pMask && pMask->pDrawable && pSrc->pDrawable->pScreen != pMask->pDrawable->pScreen))
+ (pMask && pMask->pDrawable && pDst->pDrawable->pScreen != pMask->pDrawable->pScreen))
return BadMatch;
CompositePicture (stuff->op,
pSrc,