projects
/
libs
/
gl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow creating sequences without size
[libs/gl.git]
/
tools
/
viewer.cpp
diff --git
a/tools/viewer.cpp
b/tools/viewer.cpp
index 20c11c311a61e92efd59ced67d8b3a8c91be9ca2..4c7b01e8ac71172d4f23e272dc6de276f5dba58c 100644
(file)
--- 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.get_width(), view.get_height()
);
+ sequence = new GL::Sequence();
GL::Sequence::Step &step = sequence->add_step(0, *renderable);
step.set_lighting(&lighting);
step.set_depth_test(GL::LEQUAL);