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_ConvertColorToValueProg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/compositor/operations/COM_ConvertColorToValueProg.h') diff --git a/source/blender/compositor/operations/COM_ConvertColorToValueProg.h b/source/blender/compositor/operations/COM_ConvertColorToValueProg.h index 6a20d4bf27a..5c25d5d0540 100644 --- a/source/blender/compositor/operations/COM_ConvertColorToValueProg.h +++ b/source/blender/compositor/operations/COM_ConvertColorToValueProg.h @@ -44,7 +44,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); /** * Initialize the execution -- cgit v1.2.3