From: Mikko Rasa Date: Sat, 13 Nov 2021 15:39:15 +0000 (+0200) Subject: Enable clearing in the viewer's default sequence X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=afb2687f23ac6c7d078bbad3db4379a2c051416a;p=libs%2Fgl.git Enable clearing in the viewer's default sequence --- 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);