summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/opengl/Operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/opengl/Operation.cxx')
-rw-r--r--slideshow/source/engine/opengl/Operation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/opengl/Operation.cxx b/slideshow/source/engine/opengl/Operation.cxx
index a8f5bc892851..674eb0da00d8 100644
--- a/slideshow/source/engine/opengl/Operation.cxx
+++ b/slideshow/source/engine/opengl/Operation.cxx
@@ -115,7 +115,7 @@ makeRotateAndScaleDepthByHeight(const glm::vec3& Axis,const glm::vec3& Origin,do
return std::make_shared<RotateAndScaleDepthByHeight>(Axis, Origin, Angle, bScale, bInter, T0, T1);
}
-inline double intervalInter(double t, double T0, double T1)
+static inline double intervalInter(double t, double T0, double T1)
{
return ( t - T0 ) / ( T1 - T0 );
}