Bugzilla – Attachment #58856: Fix for bug #133989
SCREEN_EPILOGUE(pScreen, GetWindowPixmap, cwGetWindowPixmap);
#ifdef RENDER
if (GetPictureScreen (pScreen))
if (GetPictureScreenIfSet (pScreen))
cwInitializeRender(pScreen);
#endif
}
Bool
AllocatePicturePrivate (ScreenPtr pScreen, int index2, unsigned int amount)
{
PictureScreenPtr ps = GetPictureScreen(pScreen);
PictureScreenPtr ps = GetPictureScreenIfSet(pScreen);
unsigned int oldamount;
if (!ps) return TRUE;
/* Round up sizes for proper alignment */
amount = ((amount + (sizeof(long) - 1)) / sizeof(long)) * sizeof(long);