]> git.tdb.fi Git - libs/gl.git/blobdiff - source/postprocessor.h
Give both color and depth buffers to postprocessors
[libs/gl.git] / source / postprocessor.h
index 25ed150a53f803b08f763c74c9a4836196ee99df..f835e5afafd75bbfac7568af9ca9ab68634754ea 100644 (file)
@@ -21,12 +21,12 @@ class PostProcessor
 protected:
        PostProcessor() { }
 public:
-       virtual ~PostProcessor();
+       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