diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-16 15:35:21 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-16 17:03:30 +0300 |
commit | b43d4c63cfea3248d216f23a1a1881f64f5844f7 (patch) | |
tree | e3667a6b4441f013d0d9cd387c6c1e86ca61c4d7 /source/blender/compositor/intern/COM_MemoryBuffer.h | |
parent | 8ea3ab5b420f13acc71c33671d2281de46854470 (diff) |
Cleanup: Removed commented out code.
Diffstat (limited to 'source/blender/compositor/intern/COM_MemoryBuffer.h')
-rw-r--r-- | source/blender/compositor/intern/COM_MemoryBuffer.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.h b/source/blender/compositor/intern/COM_MemoryBuffer.h index fce1310f6ef..41e4b86bdd2 100644 --- a/source/blender/compositor/intern/COM_MemoryBuffer.h +++ b/source/blender/compositor/intern/COM_MemoryBuffer.h @@ -266,11 +266,6 @@ class MemoryBuffer { BLI_assert(offset < this->determineBufferSize() * this->m_num_channels); BLI_assert(!(extend_x == COM_MB_CLIP && (u < m_rect.xmin || u >= m_rect.xmax)) && !(extend_y == COM_MB_CLIP && (v < m_rect.ymin || v >= m_rect.ymax))); -#if 0 - /* always true */ - BLI_assert((int)(MEM_allocN_len(this->m_buffer) / sizeof(*this->m_buffer)) == - (int)(this->determineBufferSize() * COM_NUMBER_OF_CHANNELS)); -#endif float *buffer = &this->m_buffer[offset]; memcpy(result, buffer, sizeof(float) * this->m_num_channels); } |