summaryrefslogtreecommitdiff
path: root/cfb
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 /cfb
parent6bc50de02108f822977fc7545da81fce95ea7ff4 (diff)
Save pixmap allocation hints into the PixmapRec.
Diffstat (limited to 'cfb')
-rw-r--r--cfb/cfbpixmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfb/cfbpixmap.c b/cfb/cfbpixmap.c
index a7be7cc1b..f5a9a41ef 100644
--- a/cfb/cfbpixmap.c
+++ b/cfb/cfbpixmap.c
@@ -99,6 +99,7 @@ cfbCreatePixmap (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;
}