Browse Source

export a unicode font may crash because chunks out of range...
set MemoryPoolDynamicStatic::MAX_CHUNKS to 65536

sanikoyes 11 years ago
parent
commit
4927acd7ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/memory_pool_dynamic_static.h

+ 1 - 1
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
 	};