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:
parent
000cf3cea2
commit
d723c7d9df
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue