diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-04 05:02:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-04 05:02:15 +0400 |
commit | ec8a26e040966bec61ab08ae1d4acbf41db08a5c (patch) | |
tree | e0aa18e52762b3abd2b487c3e3665c97b115d678 /source/blender/blenkernel | |
parent | 5f46fdadfd84c3c2ba15d184d47f24f3525c3ae4 (diff) |
use 'const float' when passing readonly colors, and include array size.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/colortools.c | 2 |
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]; |