- GL::Sequence::Step &step = sequence.add_step(0, *renderable);
- step.set_lighting(&lighting);
- step.set_depth_test(&GL::DepthTest::lequal());
- step.set_blend(&GL::Blend::alpha());
+ if(!sequence)
+ {
+ sequence = new GL::Sequence();
+ sequence->set_debug_name("Sequence");
+ sequence->set_clear_enabled(true);
+ GL::Sequence::Step &step = sequence->add_step(0, *renderable);
+ step.set_lighting(&lighting);
+ step.set_depth_test(GL::LEQUAL);
+ }