]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove obsolete stuff from Sequence
authorMikko Rasa <tdb@tdb.fi>
Tue, 14 Sep 2021 21:00:31 +0000 (00:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 14 Sep 2021 21:00:31 +0000 (00:00 +0300)
source/render/sequence.cpp
source/render/sequence.h

index e27ebf1888248695240a71a71179f4182e6d36db..e6dafa0e91b4bd507bebea79a5906b1d0ea12dc2 100644 (file)
@@ -1,6 +1,5 @@
 #include <msp/core/maputils.h>
 #include "blend.h"
-#include "camera.h"
 #include "framebuffer.h"
 #include "lighting.h"
 #include "postprocessor.h"
@@ -32,7 +31,6 @@ Sequence::Sequence(const Framebuffer &fbo)
 
 void Sequence::init(unsigned w, unsigned h)
 {
-       camera = 0;
        width = w;
        height = h;
        hdr = false;
index 8e6c45af491e2265ba4699f3555ffb399646ecc5..f862bbcb55914b229ff1d4d2e756e1fc0809e6c8 100644 (file)
@@ -67,8 +67,6 @@ public:
                Renderable *get_renderable() const { return renderable; }
        };
 
-       DEPRECATED typedef Step Pass;
-
 private:
        struct PostProcStep
        {
@@ -79,7 +77,6 @@ private:
        };
 
        std::vector<Step> steps;
-       const Camera *camera;
        std::vector<PostProcStep> postproc;
        unsigned width;
        unsigned height;
@@ -118,8 +115,6 @@ public:
        Renderable multiple times. */
        Step &add_step(Tag, Renderable &);
 
-       DEPRECATED Step &add_pass(Tag t, Renderable &r) { return add_step(t, r); }
-
        /** Adds a postprocessor to the sequence. */
        void add_postprocessor(PostProcessor &);