mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-19 06:15:58 +00:00
Fix warnings and increase demo text pool size
Fix three warnings added in fc5df2c, and increase the text pool size in
the demo. This would frequently be overflowed, even just by building
with the default settings and expanding the log.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static const unsigned TEXT_POOL_SIZE = 8000;
|
||||
static const unsigned TEXT_POOL_SIZE = 50000;
|
||||
static char g_textPool[TEXT_POOL_SIZE];
|
||||
static unsigned g_textPoolSize = 0;
|
||||
static const char* allocText(const char* text)
|
||||
|
||||
Reference in New Issue
Block a user