diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-11 08:57:57 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2020-01-07 16:15:14 +0800 |
commit | 3df9d187a32c7d1d500812b295e01c8f14eb50de (patch) | |
tree | d08dcd71084a8236396ee5c1884b77ee85af84ee /platform/osx/export | |
parent | 84b5ac8640d4e22627e5c7f27abcc19fadbf1724 (diff) |
Fixes crash when using Mesh::create_outline and Mesh::create_convex_shape
Adds a size check to the array returned by `surface_get_arrays`.
During debugging, `create_outline` also crashes when the indices size is
one (not a multiple of three). For now, just reports the error and fail
the function.
Diffstat (limited to 'platform/osx/export')
0 files changed, 0 insertions, 0 deletions