summaryrefslogtreecommitdiff
path: root/hw/xnest
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 /hw/xnest
parent6bc50de02108f822977fc7545da81fce95ea7ff4 (diff)
Save pixmap allocation hints into the PixmapRec.
Diffstat (limited to 'hw/xnest')
-rw-r--r--hw/xnest/Pixmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xnest/Pixmap.c b/hw/xnest/Pixmap.c
index 1f420015a..922975262 100644
--- a/hw/xnest/Pixmap.c
+++ b/hw/xnest/Pixmap.c
@@ -58,6 +58,7 @@ xnestCreatePixmap(ScreenPtr pScreen, int width, int height, int depth,
pPixmap->devKind = PixmapBytePad(width, depth);
pPixmap->devPrivates[xnestPixmapPrivateIndex].ptr =
(pointer)((char *)pPixmap + pScreen->totalPixmapSize);
+ pPixmap->usage_hint = usage_hint;
if (width && height)
xnestPixmapPriv(pPixmap)->pixmap =
XCreatePixmap(xnestDisplay,