From 94a3945cf9de0913b75f83b26e2e62b3bc1b0c07 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 10 Aug 2012 14:07:24 +0000 Subject: code cleanup: compositor - define size for executePixel function output float array --- source/blender/compositor/operations/COM_SetVectorOperation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/compositor/operations/COM_SetVectorOperation.h') diff --git a/source/blender/compositor/operations/COM_SetVectorOperation.h b/source/blender/compositor/operations/COM_SetVectorOperation.h index 36174e4e408..e9d6a163e9f 100644 --- a/source/blender/compositor/operations/COM_SetVectorOperation.h +++ b/source/blender/compositor/operations/COM_SetVectorOperation.h @@ -54,7 +54,7 @@ public: /** * the inner loop of this program */ - void executePixel(float *color, float x, float y, PixelSampler sampler); + void executePixel(float output[4], float x, float y, PixelSampler sampler); void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); const bool isSetOperation() const { return true; } -- cgit v1.2.3