From ce2c3efc91d2590727cb7681b3038d699efc8abc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 28 Mar 2021 16:41:25 -0400 Subject: ngl: Improve packing Pack texture cache entries slightly better. There was a 4 byte hole here. --- gsk/ngl/gskngltexturepoolprivate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gsk/ngl') diff --git a/gsk/ngl/gskngltexturepoolprivate.h b/gsk/ngl/gskngltexturepoolprivate.h index 8b39ec5440..ac8e326eb5 100644 --- a/gsk/ngl/gskngltexturepoolprivate.h +++ b/gsk/ngl/gskngltexturepoolprivate.h @@ -58,13 +58,13 @@ struct _GskNglTexture /* Backpointer to texture (can be cleared asynchronously) */ GdkTexture *user; + /* Only used by nine-slice textures */ + GskNglTextureNineSlice *nine_slice; + /* Only used by sliced textures */ GskNglTextureSlice *slices; guint n_slices; - /* Only used by nine-slice textures */ - GskNglTextureNineSlice *nine_slice; - /* The actual GL texture identifier in some shared context */ guint texture_id; -- cgit v1.2.1