summaryrefslogtreecommitdiff
path: root/mfb
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-11-15 12:12:02 -0800
committerAaron Plattner <aplattner@nvidia.com>2007-11-15 12:21:25 -0800
commitf797c96845a3fab37cda6839ebecf9ac5401fd6e (patch)
tree3db85a0412a2817be73a422e869d4b08edf14ff6 /mfb
parent6bc50de02108f822977fc7545da81fce95ea7ff4 (diff)
Save pixmap allocation hints into the PixmapRec.
Diffstat (limited to 'mfb')
-rw-r--r--mfb/mfbpixmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mfb/mfbpixmap.c b/mfb/mfbpixmap.c
index 438e9ab57..377398534 100644
--- a/mfb/mfbpixmap.c
+++ b/mfb/mfbpixmap.c
@@ -104,6 +104,7 @@ mfbCreatePixmap (pScreen, width, height, depth, usage_hint)
pPixmap->refcnt = 1;
pPixmap->devPrivate.ptr = datasize ?
(pointer)((char *)pPixmap + pScreen->totalPixmapSize) : NULL;
+ pPixmap->usage_hint = usage_hint;
return pPixmap;
}