X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fviewer.cpp;h=830caa77b81527799f66a2d70737316bd231787d;hb=afb2687f23ac6c7d078bbad3db4379a2c051416a;hp=b6452a3cf454f9bfd8a69d189dceb05973aace5e;hpb=460e530b259f2b372f52be9600ca2bc9149cc612;p=libs%2Fgl.git diff --git a/tools/viewer.cpp b/tools/viewer.cpp index b6452a3c..830caa77 100644 --- a/tools/viewer.cpp +++ b/tools/viewer.cpp @@ -240,6 +240,7 @@ Viewer::Viewer(int argc, char **argv): { 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);