Skip to content

Commit

Permalink
sokol: reduce _SGL_DEFAULT_MAX_VERTICES back to 1<<17 (1<<22 in 811ac12
Browse files Browse the repository at this point in the history
…, leads to ~140MB of memory usage for gg/minimal.v, instead of just ~38MB)
  • Loading branch information
spytheman committed Jul 5, 2024
1 parent cb42f32 commit 3ee95d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/sokol/util/sokol_gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3ee95d1

Please sign in to comment.