aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-22 12:59:07 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-10 16:22:28 +0200
commit8b5bb2cdafe5f7bd77826a1fd28f07b7329be899 (patch)
tree563d66344108d7b00cbf01068cd3e6a88017b0e9 /nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
parent560c9564346f2c663320a072e2685f9c846e5a08 (diff)
downloadnx-libs-8b5bb2cdafe5f7bd77826a1fd28f07b7329be899.tar.gz
nx-libs-8b5bb2cdafe5f7bd77826a1fd28f07b7329be899.tar.bz2
nx-libs-8b5bb2cdafe5f7bd77826a1fd28f07b7329be899.zip
hw/nxagent/Pixmap.c et al.: Propagate usage_hint through nxagentCreatePixmap, as well.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXglyph.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXglyph.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
index 7bf285d1f..34195808d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
@@ -245,7 +245,9 @@ miGlyphs (CARD8 op,
return;
width = extents.x2 - extents.x1;
height = extents.y2 - extents.y1;
- pMaskPixmap = (*pScreen->CreatePixmap) (pScreen, width, height, maskFormat->depth);
+ pMaskPixmap = (*pScreen->CreatePixmap) (pScreen, width, height,
+ maskFormat->depth,
+ CREATE_PIXMAP_USAGE_SCRATCH);
if (!pMaskPixmap)
return;