[util] Fix compiler warning
This commit is contained in:
parent
955bd30365
commit
9672aa8610
|
@ -327,7 +327,7 @@ interpolate (float f0, float f1, float f)
|
||||||
return f0 + f * (f1 - f0);
|
return f0 + f * (f1 - f0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
interpolate_colors (color_t *c0, color_t *c1, float k, color_t *c)
|
interpolate_colors (color_t *c0, color_t *c1, float k, color_t *c)
|
||||||
{
|
{
|
||||||
c->r = c0->r + k * (c1->r - c0->r);
|
c->r = c0->r + k * (c1->r - c0->r);
|
||||||
|
|
Loading…
Reference in New Issue