mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 13:10:08 +00:00
ngl: Improve packing
Pack texture cache entries slightly better. There was a 4 byte hole here.
This commit is contained in:
parent
2599c5aed3
commit
ce2c3efc91
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user