diff options
Diffstat (limited to 'zencore')
| -rw-r--r-- | zencore/memory.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zencore/memory.cpp b/zencore/memory.cpp index c50d63a1d..53ab1c13a 100644 --- a/zencore/memory.cpp +++ b/zencore/memory.cpp @@ -28,7 +28,6 @@ AlignedAllocImpl(size_t size, size_t alignment) return _aligned_malloc(size, alignment); # endif #else - // posix_memalign(&Ret, Alignment, Size); // Apple, AndroidApi<28 // aligned_alloc() states that size must be a multiple of alignment. Some // platforms return null if this requirement isn't met. size = (size + alignment - 1) & ~(alignment - 1); @@ -49,7 +48,6 @@ AlignedFreeImpl(void* ptr) _aligned_free(ptr); # endif #else - // free(ptr) // Apple :) std::free(ptr); #endif } |