remove PIXPRIV checks as this flag is always set.

This commit is contained in:
Eamon Walsh
2007-03-06 15:32:13 -05:00
committed by Eamon Walsh
parent 024bbc7cbb
commit a7cd53deb9
17 changed files with 0 additions and 88 deletions

View File

@@ -43,11 +43,7 @@ fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp)
if (paddedWidth / 4 > 32767 || height > 32767)
return NullPixmap;
datasize = height * paddedWidth;
#ifdef PIXPRIV
base = pScreen->totalPixmapSize;
#else
base = sizeof (PixmapRec);
#endif
adjust = 0;
if (base & 7)
adjust = 8 - (base & 7);