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




commit a29f74e423b10b9d97c9a47358048090af820b69
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]