diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-03-28 16:41:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-03-29 15:17:10 -0400 |
commit | ce2c3efc91d2590727cb7681b3038d699efc8abc (patch) | |
tree | 8f7a306b7dfa2620b456870cb7897cc9e8c2437c /gsk/ngl | |
parent | 2599c5aed36753e24f4b84647fb745bb03d4ff8f (diff) | |
download | gtk+-ce2c3efc91d2590727cb7681b3038d699efc8abc.tar.gz |
ngl: Improve packing
Pack texture cache entries slightly better.
There was a 4 byte hole here.
Diffstat (limited to 'gsk/ngl')
-rw-r--r-- | gsk/ngl/gskngltexturepoolprivate.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |