diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2017-02-22 14:14:41 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-04-10 16:22:28 +0200 |
commit | aa50b35a5054d59d7d1d430435665b0a38866b74 (patch) | |
tree | 950fca089a155ccd995743f40bafa1dface0c0bd /nx-X11/programs/Xserver/hw/nxagent | |
parent | 3ef6d51202a5c4f8ad23d17abf0ee9957129e88c (diff) | |
download | nx-libs-aa50b35a5054d59d7d1d430435665b0a38866b74.tar.gz nx-libs-aa50b35a5054d59d7d1d430435665b0a38866b74.tar.bz2 nx-libs-aa50b35a5054d59d7d1d430435665b0a38866b74.zip |
Save pixmap allocation hints into the PixmapRec.
Backported from X.org:
commit f797c96845a3fab37cda6839ebecf9ac5401fd6e
Author: Aaron Plattner <aplattner@nvidia.com>
Date: Thu Nov 15 12:12:02 2007 -0800
Save pixmap allocation hints into the PixmapRec.
Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Pixmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c index 87cf136cc..3f2d65de2 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c @@ -144,6 +144,7 @@ PixmapPtr nxagentCreatePixmap(ScreenPtr pScreen, int width, pPixmap -> devKind = 0; pPixmap -> refcnt = 1; pPixmap -> devPrivate.ptr = NULL; + pPixmap -> usage_hint = usage_hint; /* * Initialize the privates of the real picture. |