diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-24 18:22:20 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-02-26 14:20:42 -0800 |
commit | 22dc9a5580d77cc4707bfb8e19474e611a06ae9a (patch) | |
tree | 91a60fbcc1fba6b315549c7b112728320c5f30ec /uxa/uxa-render.c | |
parent | cb1f7ec0876746c1b52b63cdb508544e9e4e32e3 (diff) |
Fix UXA for server 1.4.
Diffstat (limited to 'uxa/uxa-render.c')
-rw-r--r-- | uxa/uxa-render.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index b377bf53..edbf0d8c 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -818,8 +818,13 @@ uxa_create_alpha_picture (ScreenPtr pScreen, return 0; } +#ifdef SERVER_1_5 pPixmap = (*pScreen->CreatePixmap) (pScreen, width, height, pPictFormat->depth, 0); +#else + pPixmap = (*pScreen->CreatePixmap) (pScreen, width, height, + pPictFormat->depth); +#endif if (!pPixmap) return 0; pGC = GetScratchGC (pPixmap->drawable.depth, pScreen); |