461ee89b6199ac93d5262eaae4afb69113c74d44
Sync a bit better the checks on the alignment value between `MEM_lockfree_mallocN_aligned` and `MEM_guarded_mallocN_aligned`. The only significant change, in `MEM_guarded_mallocN_aligned`, is the usage of `ALIGNED_MALLOC_MINIMUM_ALIGNMENT` instead of 'magic value' `8`. This should not have any effect on 64bits platforms, but on 32bits ones the minimum alignment would be reduced from `8` to `4` now. NOTE: we could also consider making these checks part of a utils function, instead of duplicating them in the codebase.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
