summaryrefslogtreecommitdiff
path: root/fb/fbpixmap.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-19 18:10:46 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-19 18:10:46 -0500
commit2d17f47cc7d6b174857617d31ad1b437d8e97d94 (patch)
tree90fb5d8d63fa0c121eef355affce79d1d84a2bbe /fb/fbpixmap.c
parent60be452c2e88342f92a76ba5ec7d90b5b0211aaf (diff)
parentea9c63e93b9bb731796e8a8de2d127e6cc720076 (diff)
Merge branch 'master' into XACE-SELINUX
Conflicts: hw/xnest/Pixmap.c include/dix.h
Diffstat (limited to 'fb/fbpixmap.c')
-rw-r--r--fb/fbpixmap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c
index d097bb7d0..311da9e62 100644
--- a/fb/fbpixmap.c
+++ b/fb/fbpixmap.c
@@ -29,7 +29,8 @@
#include "fb.h"
PixmapPtr
-fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp)
+fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp,
+ unsigned usage_hint)
{
PixmapPtr pPixmap;
size_t datasize;
@@ -76,6 +77,8 @@ fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp)
pPixmap->screen_y = 0;
#endif
+ pPixmap->usage_hint = usage_hint;
+
return pPixmap;
}
@@ -89,7 +92,7 @@ fbCreatePixmap (ScreenPtr pScreen, int width, int height, int depth,
if (bpp == 32 && depth <= 24)
bpp = fbGetScreenPrivate(pScreen)->pix32bpp;
#endif
- return fbCreatePixmapBpp (pScreen, width, height, depth, bpp);
+ return fbCreatePixmapBpp (pScreen, width, height, depth, bpp, usage_hint);
}
Bool