summaryrefslogtreecommitdiff
path: root/cfb/cfbpixmap.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-03-06 15:32:13 -0500
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2007-03-06 17:05:03 -0500
commita7cd53deb99957dec27a55ffd75e548b322ae0ce (patch)
treee6bcdc483b086b3336725f3d654932ddcd579a29 /cfb/cfbpixmap.c
parent024bbc7cbb924daaf3e305ddfc8e74509acd1e15 (diff)
remove PIXPRIV checks as this flag is always set.
Diffstat (limited to 'cfb/cfbpixmap.c')
-rw-r--r--cfb/cfbpixmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cfb/cfbpixmap.c b/cfb/cfbpixmap.c
index d51c5187c..6fdf3eae6 100644
--- a/cfb/cfbpixmap.c
+++ b/cfb/cfbpixmap.c
@@ -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;
}