summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-28 21:13:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-03-30 00:19:28 -0400
commitd4ea2e848d16f4d555a7f4457ebbd99b4241fa1c (patch)
tree0ba7ca41152913c50d3565a02ebee67f811dc30f
parent4c068892438072777a931ad0d5c57b20b25f2aa4 (diff)
downloadgtk+-d4ea2e848d16f4d555a7f4457ebbd99b4241fa1c.tar.gz
ngl: We only need two bits for phases
We use 4 phases, so 2 bits are enough.
-rw-r--r--gsk/ngl/gsknglglyphlibraryprivate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gsk/ngl/gsknglglyphlibraryprivate.h b/gsk/ngl/gsknglglyphlibraryprivate.h
index 5bf240e5e1..819523144c 100644
--- a/gsk/ngl/gsknglglyphlibraryprivate.h
+++ b/gsk/ngl/gsknglglyphlibraryprivate.h
@@ -33,9 +33,9 @@ typedef struct _GskNglGlyphKey
{
PangoFont *font;
PangoGlyph glyph;
- guint xshift : 3;
- guint yshift : 3;
- guint scale : 26; /* times 1024 */
+ guint xshift : 2;
+ guint yshift : 2;
+ guint scale : 28; /* times 1024 */
} GskNglGlyphKey;
typedef struct _GskNglGlyphValue