]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.h
Change the setup/finish_frame interface to be non-const
[libs/gl.git] / source / pipeline.h
index b450d0a5864ab76adcde1f92c1442a94b37fac89..1e5b6aa4c9894529e44cb0094c5b9a08837b01e6 100644 (file)
@@ -104,10 +104,10 @@ public:
        /** Adds a postprocessor to the pipeline. */
        void add_postprocessor(PostProcessor &);
 
-       virtual void setup_frame() const;
-       virtual void finish_frame() const;
+       virtual void setup_frame(Renderer &);
+       virtual void finish_frame();
 
-       void render() const;
+       void render();
        virtual void render(Renderer &, const Tag &tag = Tag()) const;
 
 private: