diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-11-15 12:12:02 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-11-15 12:21:25 -0800 |
commit | f797c96845a3fab37cda6839ebecf9ac5401fd6e (patch) | |
tree | 3db85a0412a2817be73a422e869d4b08edf14ff6 /afb | |
parent | 6bc50de02108f822977fc7545da81fce95ea7ff4 (diff) |
Save pixmap allocation hints into the PixmapRec.
Diffstat (limited to 'afb')
-rw-r--r-- | afb/afbpixmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/afb/afbpixmap.c b/afb/afbpixmap.c index d15d86114..c6196182d 100644 --- a/afb/afbpixmap.c +++ b/afb/afbpixmap.c @@ -105,6 +105,7 @@ afbCreatePixmap(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); } |