code cleanup: compositor - define size for executePixel function output float array
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user