[X2Go-Commits] [nx-libs] 39/219: render/glyph.c: add missing usage_hint

git-admin at x2go.org git-admin at x2go.org
Sat Sep 28 12:10:18 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Thu May 23 00:17:21 2019 +0200

    render/glyph.c: add missing usage_hint
    
    was missing in 8b5bb2cdafe5f7bd77826a1fd28f07b7329be899
---
 nx-X11/programs/Xserver/render/glyph.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list