diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 17:59:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 17:59:09 +0300 |
commit | 6d78936c43741b74f1226af9c096d7253f8fb266 (patch) | |
tree | 61d95ce39f24f0428a3e0d89d483c93300c692fb /source/blender/compositor/operations/COM_ReadBufferOperation.cpp | |
parent | e40387b1e2af2b2810b2062b1c68491c22911505 (diff) |
cleanup: style
Diffstat (limited to 'source/blender/compositor/operations/COM_ReadBufferOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ReadBufferOperation.cpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/source/blender/compositor/operations/COM_ReadBufferOperation.cpp b/source/blender/compositor/operations/COM_ReadBufferOperation.cpp index 709c30f4015..ad4084a7092 100644 --- a/source/blender/compositor/operations/COM_ReadBufferOperation.cpp +++ b/source/blender/compositor/operations/COM_ReadBufferOperation.cpp @@ -60,18 +60,17 @@ void ReadBufferOperation::executePixelSampled(float output[4], float x, float y, } else { switch (sampler) { - case COM_PS_NEAREST: - m_buffer->read(output, x, y); - break; - case COM_PS_BILINEAR: - default: - m_buffer->readBilinear(output, x, y); - break; - case COM_PS_BICUBIC: - m_buffer->readBilinear(output, x, y); - break; + case COM_PS_NEAREST: + m_buffer->read(output, x, y); + break; + case COM_PS_BILINEAR: + default: + m_buffer->readBilinear(output, x, y); + break; + case COM_PS_BICUBIC: + m_buffer->readBilinear(output, x, y); + break; } - } } |