From 73590a7fcd931261d2b9c26fd3a0e53a37aa6e2c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 15 Sep 2021 00:00:31 +0300 Subject: [PATCH] Remove obsolete stuff from Sequence --- source/render/sequence.cpp | 2 -- source/render/sequence.h | 5 ----- 2 files changed, 7 deletions(-) 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 &); -- 2.45.2