]> git.sesse.net Git - movit/blobdiff - effect.h
Support conversion to and from the XYZ color space.
[movit] / effect.h
index da4f74d0f4dee5b9c586e6798f24e612b27ba1e6..d0ed95b7665b4e36b864bee4ace5508e8f58d68f 100644 (file)
--- a/effect.h
+++ b/effect.h
@@ -50,6 +50,8 @@ void set_uniform_mat3(GLuint glsl_program_num, const std::string &prefix, const
 
 class Effect {
 public:
+       virtual ~Effect() {}
+
        // An identifier for this type of effect, mostly used for debug output
        // (but some special names, like "ColorSpaceConversionEffect", holds special
        // meaning). Same as the class name is fine.