diff options
Diffstat (limited to 'src/compute/color/color.c')
-rw-r--r-- | src/compute/color/color.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compute/color/color.c b/src/compute/color/color.c index 3e4b1c8c10..929754639d 100644 --- a/src/compute/color/color.c +++ b/src/compute/color/color.c @@ -104,8 +104,8 @@ color_linear_to_srgb_rgb_f32(float rgb[3]) // // -static -float +static +float lerpf(float const a, float const b, float const t) { return fmaf(t, b, fmaf(-t, a, a)); @@ -115,8 +115,8 @@ lerpf(float const a, float const b, float const t) // // -void -color_linear_lerp_rgba_f32(float rgba_m[4], +void +color_linear_lerp_rgba_f32(float rgba_m[4], float const rgba_a[4], float const rgba_b[4], float const t) |