Skip to content
Unverified Commit 63be6d26 authored by baldurk's avatar baldurk
Browse files

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.
parent 5287a44e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment