X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fsequence.cpp;h=9a50b8f6f405648ff7b857af03f394b4a85d2eb7;hb=1509585cd1adcf7cff7beecc72e953583a2ea07e;hp=e27ebf1888248695240a71a71179f4182e6d36db;hpb=6353307898cd397e2bcde13e2448a8a678a60004;p=libs%2Fgl.git diff --git a/source/render/sequence.cpp b/source/render/sequence.cpp index e27ebf18..9a50b8f6 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; @@ -132,7 +130,7 @@ void Sequence::add_postprocessor(PostProcessor *pp, bool owned) } catch(...) { - if(!owned) + if(owned) delete pp; postproc.pop_back(); throw;