aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/render/glyph.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-23 00:17:21 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 11:32:55 +0200
commit49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4 (patch)
tree42f61b431d3ac0d61447a181a69f2c932c36de5a /nx-X11/programs/Xserver/render/glyph.c
parentfd84270023d72fbe335d8586d128a113b942137c (diff)
downloadnx-libs-49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4.tar.gz
nx-libs-49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4.tar.bz2
nx-libs-49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4.zip
render/glyph.c: add missing usage_hint
was missing in 8b5bb2cdafe5f7bd77826a1fd28f07b7329be899
Diffstat (limited to 'nx-X11/programs/Xserver/render/glyph.c')
-rw-r--r--nx-X11/programs/Xserver/render/glyph.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/render/glyph.c b/nx-X11/programs/Xserver/render/glyph.c
index 9c9a485ea..a379b505f 100644
--- a/nx-X11/programs/Xserver/render/glyph.c
+++ b/nx-X11/programs/Xserver/render/glyph.c
@@ -589,7 +589,8 @@ miGlyphs(CARD8 op,
height = extents.y2 - extents.y1;
pMaskPixmap =
(*pScreen->CreatePixmap) (pScreen, width, height,
- maskFormat->depth);
+ maskFormat->depth,
+ CREATE_PIXMAP_USAGE_SCRATCH);
if (!pMaskPixmap)
return;
component_alpha = NeedsComponent(maskFormat->format);