[gtk/wip/chergert/glproto] set max size for icon library



commit 3050dcb5df61fbfc64d7b734056f00396a2099e7
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 20 10:23:02 2021 -0800

    set max size for icon library

 gsk/next/gskgliconlibrary.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gsk/next/gskgliconlibrary.c b/gsk/next/gskgliconlibrary.c
index b7b3c54a6c..36436835d4 100644
--- a/gsk/next/gskgliconlibrary.c
+++ b/gsk/next/gskgliconlibrary.c
@@ -61,6 +61,7 @@ gsk_gl_icon_library_class_init (GskGLIconLibraryClass *klass)
 static void
 gsk_gl_icon_library_init (GskGLIconLibrary *self)
 {
+  GSK_GL_TEXTURE_LIBRARY (self)->max_entry_size = 128;
   gsk_gl_texture_library_set_funcs (GSK_GL_TEXTURE_LIBRARY (self),
                                     NULL, NULL, NULL,
                                     gsk_gl_icon_data_free);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]