]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/sequencebuilder.cpp
Add inline data items to the collection
[libs/gl.git] / source / builders / sequencebuilder.cpp
index 658ded0bc697a57bc36f8ca8b6548c4083d7ec25..317b68846126b3330a5e5592dfbc3deee01cf2af 100644 (file)
@@ -53,7 +53,7 @@ void SequenceBuilder::build(Sequence &sequence) const
                Sequence::Step &step = sequence.add_step(i->tag, *renderable);
                step.set_blend(i->blend.get());
                step.set_depth_test(i->depth_test.get());
-               step.set_lighting(i->lighting.get());
+               step.set_lighting(i->lighting);
        }
 
        const SequenceTemplate::PostProcessorArray &postprocs = tmpl.get_postprocessors();
@@ -66,7 +66,7 @@ void SequenceBuilder::build(Sequence &sequence) const
                        sequence.add_postprocessor(*proc);
                else if(i->postprocessor_template)
                {
-                       proc = i->postprocessor_template->create(tmpl.get_resources(), sequence.get_width(), sequence.get_height());
+                       proc = i->postprocessor_template->create(sequence.get_width(), sequence.get_height());
                        if(proc)
                                sequence.add_postprocessor_owned(proc);
                }