diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-03 20:23:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-03 20:23:47 +0400 |
commit | 5e424cacb53214507a40c439fb1e61d8a570db12 (patch) | |
tree | 4826385d7349d405016cf2a6298224da211254c7 /source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp | |
parent | c66f3571681bcf9595bb79540a687b058aa9988c (diff) |
minor optimizations to compositor, avoid indirections when operating array members multiple times
Diffstat (limited to 'source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp b/source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp index aedf6ec5e9e..7d489ce856e 100644 --- a/source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp +++ b/source/blender/compositor/operations/COM_AlphaOverMixedOperation.cpp @@ -27,7 +27,7 @@ AlphaOverMixedOperation::AlphaOverMixedOperation(): MixBaseOperation() this->x = 0.0f; } -void AlphaOverMixedOperation::executePixel(float *outputValue, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]) +void AlphaOverMixedOperation::executePixel(float outputValue[4], float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]) { float inputColor1[4]; float inputOverColor[4]; |