]> git.tdb.fi Git - libs/gl.git/blobdiff - source/postprocessor.h
Bind ProgramData to a Program upon construction
[libs/gl.git] / source / postprocessor.h
index e40d80438a5a556d55713b98aa32f296d9482798..f835e5afafd75bbfac7568af9ca9ab68634754ea 100644 (file)
@@ -21,10 +21,12 @@ class PostProcessor
 protected:
        PostProcessor() { }
 public:
+       virtual ~PostProcessor() { }
+
        /**
        Renders the effect.  Takes the source texture as a parameter.
        */
-       virtual void render(const Texture2D &) =0;
+       virtual void render(const Texture2D &, const Texture2D &) = 0;
 };
 
 } // namespace GL