diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-11 10:38:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-11 10:39:28 +0300 |
commit | d4934f8f6d8d2da457adb6dd32047eb1627459a0 (patch) | |
tree | 246012077cd959563ca372767c319dbbc3345f50 /source/blender/compositor/intern | |
parent | 387d91829d787ac96afbb2b3f86899e0e3346222 (diff) |
cleanup: style/indentation
Diffstat (limited to 'source/blender/compositor/intern')
-rw-r--r-- | source/blender/compositor/intern/COM_MemoryBuffer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.cpp b/source/blender/compositor/intern/COM_MemoryBuffer.cpp index 37035c50d2c..9e6e5a423f9 100644 --- a/source/blender/compositor/intern/COM_MemoryBuffer.cpp +++ b/source/blender/compositor/intern/COM_MemoryBuffer.cpp @@ -187,11 +187,11 @@ void MemoryBuffer::addPixel(int x, int y, const float color[4]) y >= this->m_rect.ymin && y < this->m_rect.ymax) { const int offset = (this->m_width * (y - this->m_rect.ymin) + x - this->m_rect.xmin) * this->m_num_channels; - float *dst = &this->m_buffer[offset]; - const float *src = color; - for (int i = 0; i < this->m_num_channels ; i++, dst++, src++) { - *dst += *src; - } + float *dst = &this->m_buffer[offset]; + const float *src = color; + for (int i = 0; i < this->m_num_channels ; i++, dst++, src++) { + *dst += *src; + } } } |