From 3ee95d1040d806925684005e83c49ded551c4b71 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 5 Jul 2024 13:06:19 +0300 Subject: [PATCH] sokol: reduce _SGL_DEFAULT_MAX_VERTICES back to 1<<17 (1<<22 in 811ac12, leads to ~140MB of memory usage for gg/minimal.v, instead of just ~38MB) --- thirdparty/sokol/util/sokol_gl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/sokol/util/sokol_gl.h b/thirdparty/sokol/util/sokol_gl.h index ed75f6649a..f72f0b103f 100644 --- a/thirdparty/sokol/util/sokol_gl.h +++ b/thirdparty/sokol/util/sokol_gl.h @@ -2309,7 +2309,7 @@ typedef struct { #define _SGL_DEFAULT_CONTEXT_POOL_SIZE (4) #define _SGL_DEFAULT_PIPELINE_POOL_SIZE (64) // __v_ start -#define _SGL_DEFAULT_MAX_VERTICES (1<<22) +#define _SGL_DEFAULT_MAX_VERTICES (1<<17) #define _SGL_DEFAULT_MAX_COMMANDS (1<<15) // __v_ end #define _SGL_SLOT_SHIFT (16)