Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-04 05:02:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-04 05:02:15 +0400
commitec8a26e040966bec61ab08ae1d4acbf41db08a5c (patch)
treee0aa18e52762b3abd2b487c3e3665c97b115d678 /source/blender/blenkernel/intern/colortools.c
parent5f46fdadfd84c3c2ba15d184d47f24f3525c3ae4 (diff)
use 'const float' when passing readonly colors, and include array size.
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index 8ec3ad567a2..25391a34689 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -867,7 +867,7 @@ DO_INLINE int get_bin_float(float f)
return bin;
}
-DO_INLINE void save_sample_line(Scopes *scopes, const int idx, const float fx, float *rgb, float *ycc)
+DO_INLINE void save_sample_line(Scopes *scopes, const int idx, const float fx, const float rgb[3], const float ycc[3])
{
float yuv[3];