mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/FFI/TrueType: Reduce memory pool size from 32MB to 8MB
The maximum allocated memory by stbtt_RenderText() has never exceeded 2MB during testing. 8MB ought to be enough for anybody :^)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
U64 stbtt_heap = MAlloc(1048576 * 32);
|
||||
U64 stbtt_heap = MAlloc(1024 << 13);
|
||||
U64 stbtt_pos = 0;
|
||||
|
||||
U64 @stbtt_malloc(I64 size)
|
||||
|
||||
Reference in New Issue
Block a user