From: Mikko Rasa Date: Tue, 14 Sep 2021 21:00:31 +0000 (+0300) Subject: Remove obsolete stuff from Sequence X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=73590a7fcd931261d2b9c26fd3a0e53a37aa6e2c;p=libs%2Fgl.git Remove obsolete stuff from Sequence --- diff --git a/source/render/sequence.cpp b/source/render/sequence.cpp index e27ebf18..e6dafa0e 100644 --- a/source/render/sequence.cpp +++ b/source/render/sequence.cpp @@ -1,6 +1,5 @@ #include #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; diff --git a/source/render/sequence.h b/source/render/sequence.h index 8e6c45af..f862bbcb 100644 --- a/source/render/sequence.h +++ b/source/render/sequence.h @@ -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 steps; - const Camera *camera; std::vector 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 &);