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:
authorCampbell Barton <ideasman42@gmail.com>2015-01-23 17:59:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-23 17:59:09 +0300
commit6d78936c43741b74f1226af9c096d7253f8fb266 (patch)
tree61d95ce39f24f0428a3e0d89d483c93300c692fb /source/blender/compositor/operations/COM_ReadBufferOperation.cpp
parente40387b1e2af2b2810b2062b1c68491c22911505 (diff)
cleanup: style
Diffstat (limited to 'source/blender/compositor/operations/COM_ReadBufferOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_ReadBufferOperation.cpp21
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;
}
-
}
}