Improve this code to allow layers like 'blur' to work.
[synfig.git] / synfig-core / trunk / src / synfig / blur.cpp
index 4307a7e..4fff029 100644 (file)
@@ -128,7 +128,7 @@ static inline T zero()
 }
 
 template <>
-static inline Color zero<Color>()
+inline Color zero<Color>()
 {
        return Color::alpha();
 }
@@ -846,9 +846,9 @@ bool Blur::operator ()(const Surface &surface,
        return true;
 }
 
-bool Blur::operator ()(const surface<float> &surface,
-                                               const Vector &resolution,
-                                               surface<float> &out) const
+bool Blur::operator ()(const etl::surface<float> &surface,
+                                          const synfig::Vector &resolution,
+                                          etl::surface<float> &out) const
 {
        int w = surface.get_w(),
                h = surface.get_h();