]> git.sesse.net Git - movit/blobdiff - multiply_effect.h
Release Movit 1.3.2. (From a branch, since I do not want to break ABI compatibility...
[movit] / multiply_effect.h
index 50612fc941f1a5bf50894d39437bd872225034ad..c017e06c10d46444fb9bdbefc27a08ecdf4d8b9f 100644 (file)
@@ -6,7 +6,7 @@
 // sending it through OverlayEffect, e.g. with R=G=B=A=0.3 to get 30% alpha
 // (remember, alpha is premultiplied).
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
@@ -18,6 +18,7 @@ public:
        MultiplyEffect();
        virtual std::string effect_type_id() const { return "MultiplyEffect"; }
        std::string output_fragment_shader();
+       virtual bool one_to_one_sampling() const { return true; }
 
 private:
        RGBATuple factor;