Make mesh output buffer resizing a little more conservative
* Instead of calculating the mesh output size exponentially by continuously doubling, we instead double up to a reasonable size (256MB) and then just allocate only enough to cover what we need after that point. This avoids getting into the situation where a mesh needs 1.04GB of data and we allocate a 2GB buffer - which may then fail.
Loading
Please register or sign in to comment