mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
remove PIXPRIV checks as this flag is always set.
This commit is contained in:
parent
024bbc7cbb
commit
a7cd53deb9
17 changed files with 0 additions and 88 deletions
|
|
@ -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 ;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue