From: Mikko Rasa Date: Tue, 14 Sep 2021 21:22:59 +0000 (+0300) Subject: Fix a logic error in Sequence X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1509585cd1adcf7cff7beecc72e953583a2ea07e;p=libs%2Fgl.git Fix a logic error in Sequence This condition accidentally got flipped in 3ac3a51. --- diff --git a/source/render/sequence.cpp b/source/render/sequence.cpp index e6dafa0e..9a50b8f6 100644 --- a/source/render/sequence.cpp +++ b/source/render/sequence.cpp @@ -130,7 +130,7 @@ void Sequence::add_postprocessor(PostProcessor *pp, bool owned) } catch(...) { - if(!owned) + if(owned) delete pp; postproc.pop_back(); throw;