diff options
| author | Martin Ridgers <[email protected]> | 2022-01-05 12:10:32 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-05 15:15:47 +0100 |
| commit | 841733234bef0e94d9c4344cf2079991fd44c1d9 (patch) | |
| tree | 1c9ecf05a4554fbff7420e957bd6e1cf2f311f96 /zencore/memory.cpp | |
| parent | aligned_alloc() states that size must be a multiple of alignment (diff) | |
| download | zen-841733234bef0e94d9c4344cf2079991fd44c1d9.tar.xz zen-841733234bef0e94d9c4344cf2079991fd44c1d9.zip | |
Cleaned up some unnecessary comments
Diffstat (limited to 'zencore/memory.cpp')
| -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 } |