mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
remove PIXPRIV checks as this flag is always set.
This commit is contained in:
@@ -96,12 +96,8 @@ cfbCreatePixmap (pScreen, width, height, depth)
|
||||
pPixmap->drawable.height = height;
|
||||
pPixmap->devKind = paddedWidth;
|
||||
pPixmap->refcnt = 1;
|
||||
#ifdef PIXPRIV
|
||||
pPixmap->devPrivate.ptr = datasize ?
|
||||
(pointer)((char *)pPixmap + pScreen->totalPixmapSize) : NULL;
|
||||
#else
|
||||
pPixmap->devPrivate.ptr = (pointer)(pPixmap + 1);
|
||||
#endif
|
||||
return pPixmap;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user