Save pixmap allocation hints into the PixmapRec.

This commit is contained in:
Aaron Plattner 2007-11-15 12:12:02 -08:00
commit f797c96845
12 changed files with 17 additions and 4 deletions

View file

@ -116,6 +116,7 @@ PixmapPtr dmxCreatePixmap(ScreenPtr pScreen, int width, int height, int depth,
pPixmap->drawable.height = height;
pPixmap->devKind = PixmapBytePad(width, bpp);
pPixmap->refcnt = 1;
pPixmap->usage_hint = usage_hint;
pPixPriv = DMX_GET_PIXMAP_PRIV(pPixmap);
pPixPriv->pixmap = (Pixmap)0;