]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix a logic error in Sequence
authorMikko Rasa <tdb@tdb.fi>
Tue, 14 Sep 2021 21:22:59 +0000 (00:22 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 14 Sep 2021 21:22:59 +0000 (00:22 +0300)
This condition accidentally got flipped in 3ac3a51.

source/render/sequence.cpp

index e6dafa0e91b4bd507bebea79a5906b1d0ea12dc2..9a50b8f6f405648ff7b857af03f394b4a85d2eb7 100644 (file)
@@ -130,7 +130,7 @@ void Sequence::add_postprocessor(PostProcessor *pp, bool owned)
        }
        catch(...)
        {
-               if(!owned)
+               if(owned)
                        delete pp;
                postproc.pop_back();
                throw;