code cleanup: compositor - define size for executePixel function output float array

This commit is contained in:
2012-08-10 14:07:24 +00:00
parent e877247789
commit 94a3945cf9
251 changed files with 852 additions and 874 deletions

View File

@@ -27,9 +27,9 @@ SetValueOperation::SetValueOperation() : NodeOperation()
this->addOutputSocket(COM_DT_VALUE);
}
void SetValueOperation::executePixel(float *outputValue, float x, float y, PixelSampler sampler)
void SetValueOperation::executePixel(float output[4], float x, float y, PixelSampler sampler)
{
outputValue[0] = this->m_value;
output[0] = this->m_value;
}
void SetValueOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])