Bug #6924: Restore the ABI for DrawableRec and ColormapRec to the state

they were in prior to the fix for #6438. Based on a patch from Andy
    Ritger.
This commit is contained in:
Adam Jackson
2006-05-22 15:47:56 +00:00
parent cc3b882bd1
commit bc0c56c407
6 changed files with 58 additions and 4 deletions

View File

@@ -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;
}