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)

This commit is contained in:
Delyan Angelov 2024-07-05 13:06:19 +03:00
parent cb42f32852
commit 3ee95d1040
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -2309,7 +2309,7 @@ typedef struct {
#define _SGL_DEFAULT_CONTEXT_POOL_SIZE (4) #define _SGL_DEFAULT_CONTEXT_POOL_SIZE (4)
#define _SGL_DEFAULT_PIPELINE_POOL_SIZE (64) #define _SGL_DEFAULT_PIPELINE_POOL_SIZE (64)
// __v_ start // __v_ start
#define _SGL_DEFAULT_MAX_VERTICES (1<<22) #define _SGL_DEFAULT_MAX_VERTICES (1<<17)
#define _SGL_DEFAULT_MAX_COMMANDS (1<<15) #define _SGL_DEFAULT_MAX_COMMANDS (1<<15)
// __v_ end // __v_ end
#define _SGL_SLOT_SHIFT (16) #define _SGL_SLOT_SHIFT (16)