summaryrefslogtreecommitdiff
path: root/hw/xgl
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-10-12 18:18:00 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-10-12 18:19:44 -0400
commit526f40434c86548830c4f72940462b6253fe9790 (patch)
treebf84af3db7499f1bf73063ac94c0f38c4d31141b /hw/xgl
parent6adeba17301a309be2f34cd51eca84a13d5503fd (diff)
NULL is not a valid argument to CreatePicture, please use serverClient
as the client argument if no real client is creating the object.
Diffstat (limited to 'hw/xgl')
-rw-r--r--hw/xgl/xglscreen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xgl/xglscreen.c b/hw/xgl/xglscreen.c
index 9b7297b91..6bd91b72a 100644
--- a/hw/xgl/xglscreen.c
+++ b/hw/xgl/xglscreen.c
@@ -463,7 +463,8 @@ xglCreateSolidAlphaPicture (ScreenPtr pScreen)
tmpval[0] = xTrue;
pScreenPriv->pSolidAlpha = CreatePicture (0, &pPixmap->drawable, pFormat,
- CPRepeat, tmpval, 0, &error);
+ CPRepeat, tmpval,
+ serverClient, &error);
(*pScreen->DestroyPixmap) (pPixmap);
if (pScreenPriv->pSolidAlpha)