mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
remove PIXPRIV check as this flag is always set.
This commit is contained in:
@@ -109,7 +109,6 @@ _X_EXPORT PixmapPtr
|
||||
AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
|
||||
{
|
||||
PixmapPtr pPixmap;
|
||||
#ifdef PIXPRIV
|
||||
char *ptr;
|
||||
DevUnion *ppriv;
|
||||
unsigned *sizes;
|
||||
@@ -136,9 +135,6 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
|
||||
else
|
||||
ppriv->ptr = (pointer)NULL;
|
||||
}
|
||||
#else
|
||||
pPixmap = (PixmapPtr)xalloc(sizeof(PixmapRec) + pixDataSize);
|
||||
#endif
|
||||
|
||||
#ifdef _XSERVER64
|
||||
if (pPixmap) {
|
||||
|
||||
Reference in New Issue
Block a user