mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +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
|
|
@ -32,9 +32,7 @@ is" without express or implied warranty.
|
|||
#include "Screen.h"
|
||||
#include "XNPixmap.h"
|
||||
|
||||
#ifdef PIXPRIV
|
||||
int xnestPixmapPrivateIndex;
|
||||
#endif
|
||||
|
||||
PixmapPtr
|
||||
xnestCreatePixmap(ScreenPtr pScreen, int width, int height, int depth)
|
||||
|
|
@ -57,12 +55,8 @@ xnestCreatePixmap(ScreenPtr pScreen, int width, int height, int depth)
|
|||
pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
|
||||
pPixmap->refcnt = 1;
|
||||
pPixmap->devKind = PixmapBytePad(width, depth);
|
||||
#ifdef PIXPRIV
|
||||
pPixmap->devPrivates[xnestPixmapPrivateIndex].ptr =
|
||||
(pointer)((char *)pPixmap + pScreen->totalPixmapSize);
|
||||
#else
|
||||
pPixmap->devPrivate.ptr = (pointer)(pPixmap + 1);
|
||||
#endif
|
||||
if (width && height)
|
||||
xnestPixmapPriv(pPixmap)->pixmap =
|
||||
XCreatePixmap(xnestDisplay,
|
||||
|
|
|
|||
Loading…
Reference in a new issue