aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanikoyes2014-03-11 13:57:59 +0800
committersanikoyes2014-03-11 13:57:59 +0800
commit4927acd7ad718cb7b3f720bb48742928393160e3 (patch)
treea279808b36415b52c4cacafac81e43d176d9e682
parent87fd1532159c18efc06524f2715ed74b3e32ddee (diff)
downloadgodot-4927acd7ad718cb7b3f720bb48742928393160e3.tar.gz
godot-4927acd7ad718cb7b3f720bb48742928393160e3.tar.zst
godot-4927acd7ad718cb7b3f720bb48742928393160e3.zip
export a unicode font may crash because chunks out of range...
set MemoryPoolDynamicStatic::MAX_CHUNKS to 65536
-rw-r--r--core/os/memory_pool_dynamic_static.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/memory_pool_dynamic_static.h b/core/os/memory_pool_dynamic_static.h
index ce038bc00..d10cdb3d0 100644
--- a/core/os/memory_pool_dynamic_static.h
+++ b/core/os/memory_pool_dynamic_static.h
@@ -38,7 +38,7 @@ class MemoryPoolDynamicStatic : public MemoryPoolDynamic {
_THREAD_SAFE_CLASS_
enum {
- MAX_CHUNKS=16384
+ MAX_CHUNKS=65536
};