summaryrefslogtreecommitdiff
path: root/fb
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 /fb
parent024bbc7cbb924daaf3e305ddfc8e74509acd1e15 (diff)
remove PIXPRIV checks as this flag is always set.
Diffstat (limited to 'fb')
-rw-r--r--fb/fbpixmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c
index c2ddcb0e9..18c120440 100644
--- a/fb/fbpixmap.c
+++ b/fb/fbpixmap.c
@@ -43,11 +43,7 @@ fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp)
if (paddedWidth / 4 > 32767 || height > 32767)
return NullPixmap;
datasize = height * paddedWidth;
-#ifdef PIXPRIV
base = pScreen->totalPixmapSize;
-#else
- base = sizeof (PixmapRec);
-#endif
adjust = 0;
if (base & 7)
adjust = 8 - (base & 7);