diff options
Diffstat (limited to 'dix/pixmap.c')
-rw-r--r-- | dix/pixmap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dix/pixmap.c b/dix/pixmap.c index 527b0f0b2..1c3d49fc5 100644 --- a/dix/pixmap.c +++ b/dix/pixmap.c @@ -141,5 +141,13 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize) #else pPixmap = (PixmapPtr)xalloc(sizeof(PixmapRec) + pixDataSize); #endif + +#ifdef _XSERVER64 + if (pPixmap) { + pPixmap->drawable.pad0 = 0; + pPixmap->drawable.pad1 = 0; + } +#endif + return pPixmap; } |