ngl: We only need two bits for phases

We use 4 phases, so 2 bits are enough.
This commit is contained in:
Matthias Clasen
2021-03-28 21:13:23 -04:00
parent 4c06889243
commit d4ea2e848d

View File

@@ -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