Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/intern/COM_MemoryProxy.cpp')
-rw-r--r--source/blender/compositor/intern/COM_MemoryProxy.cpp27
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;
+ }
}