diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/intern/COM_MemoryProxy.cpp | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/compositor/intern/COM_MemoryProxy.cpp')
-rw-r--r-- | source/blender/compositor/intern/COM_MemoryProxy.cpp | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryProxy.cpp b/source/blender/compositor/intern/COM_MemoryProxy.cpp index ab8df14de56..b73bac469d0 100644 --- a/source/blender/compositor/intern/COM_MemoryProxy.cpp +++ b/source/blender/compositor/intern/COM_MemoryProxy.cpp @@ -18,29 +18,28 @@ #include "COM_MemoryProxy.h" - MemoryProxy::MemoryProxy(DataType datatype) { - this->m_writeBufferOperation = NULL; - this->m_executor = NULL; - this->m_datatype = datatype; + this->m_writeBufferOperation = NULL; + this->m_executor = NULL; + this->m_datatype = datatype; } void MemoryProxy::allocate(unsigned int width, unsigned int height) { - rcti result; - result.xmin = 0; - result.xmax = width; - result.ymin = 0; - result.ymax = height; + rcti result; + result.xmin = 0; + result.xmax = width; + result.ymin = 0; + result.ymax = height; - this->m_buffer = new MemoryBuffer(this, 1, &result); + this->m_buffer = new MemoryBuffer(this, 1, &result); } void MemoryProxy::free() { - if (this->m_buffer) { - delete this->m_buffer; - this->m_buffer = NULL; - } + if (this->m_buffer) { + delete this->m_buffer; + this->m_buffer = NULL; + } } |