Increase PhysX allocation limit to 1GB

#1176
This commit is contained in:
Wojtek Figat
2023-06-15 10:07:30 +02:00
parent 53587ad162
commit 329a6ce0ef

View File

@@ -85,7 +85,7 @@ class AllocatorPhysX : public PxAllocatorCallback
{
void* allocate(size_t size, const char* typeName, const char* filename, int line) override
{
ASSERT(size < 1024 * 1024 * 32); // Prevent invalid allocation size
ASSERT(size < 1024 * 1024 * 1024); // Prevent invalid allocation size
return Allocator::Allocate(size, 16);
}