Cycles: Some cleanup, should be no functional changes
Addressing meaningful feedback from coverity.
This commit is contained in:
@@ -44,8 +44,7 @@ void *util_aligned_malloc(size_t size, int alignment)
|
||||
{
|
||||
#ifdef WITH_BLENDER_GUARDEDALLOC
|
||||
return MEM_mallocN_aligned(size, alignment, "Cycles Aligned Alloc");
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
#elif defined(_WIN32)
|
||||
return _aligned_malloc(size, alignment);
|
||||
#elif defined(__APPLE__)
|
||||
/* On Mac OS X, both the heap and the stack are guaranteed 16-byte aligned so
|
||||
|
Reference in New Issue
Block a user