diff --git a/source/blender/compositor/realtime_compositor/cached_resources/intern/bokeh_kernel.cc b/source/blender/compositor/realtime_compositor/cached_resources/intern/bokeh_kernel.cc index 23b4a729941..3723257e0ad 100644 --- a/source/blender/compositor/realtime_compositor/cached_resources/intern/bokeh_kernel.cc +++ b/source/blender/compositor/realtime_compositor/cached_resources/intern/bokeh_kernel.cc @@ -53,12 +53,12 @@ bool operator==(const BokehKernelKey &a, const BokehKernelKey &b) /* The exterior angle is the angle between each two consecutive vertices of the regular polygon * from its center. */ -float compute_exterior_angle(int sides) +static float compute_exterior_angle(int sides) { return (M_PI * 2.0f) / sides; } -float compute_rotation(float angle, int sides) +static float compute_rotation(float angle, int sides) { /* Offset the rotation such that the second vertex of the regular polygon lies on the positive * y axis, which is 90 degrees minus the angle that it makes with the positive x axis assuming