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
commit a7cd53deb9
17 changed files with 0 additions and 88 deletions

View file

@ -120,12 +120,8 @@ xf4bppCreatePixmap( pScreen, width, height, depth )
pPixmap->devKind = size;
pPixmap->refcnt = 1 ;
size = height * pPixmap->devKind ;
#ifdef PIXPRIV
pPixmap->devPrivate.ptr = (pointer) (((CARD8*)pPixmap)
+ pScreen->totalPixmapSize);
#else
pPixmap->devPrivate.ptr = (pointer) (pPixmap + 1);
#endif
bzero( (char *) pPixmap->devPrivate.ptr, size ) ;
return pPixmap ;
}