X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fviewer.cpp;h=4c7b01e8ac71172d4f23e272dc6de276f5dba58c;hb=d4e380914f02800b7d915a8748ac9ccd7029bc3b;hp=2c950e18e2acc22714ee9d3030ed7467371a0fe0;hpb=2b2676392aff2eb6b38c3e463cc67f4d67a4ef8b;p=libs%2Fgl.git diff --git a/tools/viewer.cpp b/tools/viewer.cpp index 2c950e18..4c7b01e8 100644 --- a/tools/viewer.cpp +++ b/tools/viewer.cpp @@ -234,7 +234,7 @@ Viewer::Viewer(int argc, char **argv): if(!sequence) { - sequence = new GL::Sequence(view); + sequence = new GL::Sequence(); GL::Sequence::Step &step = sequence->add_step(0, *renderable); step.set_lighting(&lighting); step.set_depth_test(GL::LEQUAL);