]> git.tdb.fi Git - libs/gl.git/blobdiff - tools/viewer.cpp
Remove the View and Framebuffer constructors from Sequence
[libs/gl.git] / tools / viewer.cpp
index 2c950e18e2acc22714ee9d3030ed7467371a0fe0..20c11c311a61e92efd59ced67d8b3a8c91be9ca2 100644 (file)
@@ -234,7 +234,7 @@ Viewer::Viewer(int argc, char **argv):
 
        if(!sequence)
        {
-               sequence = new GL::Sequence(view);
+               sequence = new GL::Sequence(view.get_width(), view.get_height());
                GL::Sequence::Step &step = sequence->add_step(0, *renderable);
                step.set_lighting(&lighting);
                step.set_depth_test(GL::LEQUAL);