diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_SeparateChannelOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_SeparateChannelOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_SeparateChannelOperation.cpp b/source/blender/compositor/operations/COM_SeparateChannelOperation.cpp index 0b080dcc426..9fc266cce86 100644 --- a/source/blender/compositor/operations/COM_SeparateChannelOperation.cpp +++ b/source/blender/compositor/operations/COM_SeparateChannelOperation.cpp @@ -39,9 +39,9 @@ void SeparateChannelOperation::deinitExecution() } -void SeparateChannelOperation::executePixel(float *color, float x, float y, PixelSampler sampler) +void SeparateChannelOperation::executePixel(float output[4], float x, float y, PixelSampler sampler) { float input[4]; this->m_inputOperation->read(input, x, y, sampler); - color[0] = input[this->m_channel]; + output[0] = input[this->m_channel]; } |