]> git.sesse.net Git - movit/blobdiff - blur_effect.h
Add vertical blurring, and fix a bug where not all taps would be used.
[movit] / blur_effect.h
index 0657136181066042391e91baf4e9672fb7f4ef02..09c6f14117f47266e3ec53449202b7f829274bd3 100644 (file)
@@ -13,8 +13,11 @@ public:
 
        void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
 
+       enum Direction { HORIZONTAL = 0, VERTICAL = 1 };
+
 private:
        float radius;
+       Direction direction;
 };
 
 #endif // !defined(_BLUR_EFFECT_H)