aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_cxx_demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_cxx_demo.cpp')
-rw-r--r--examples/pugl_cxx_demo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cxx_demo.cpp
index 4914724..d663a3f 100644
--- a/examples/pugl_cxx_demo.cpp
+++ b/examples/pugl_cxx_demo.cpp
@@ -125,6 +125,7 @@ main(int argc, char** argv)
view.setWindowTitle("Pugl C++ Test");
view.setDefaultSize(512, 512);
view.setMinSize(64, 64);
+ view.setMaxSize(256, 256);
view.setAspectRatio(1, 1, 16, 9);
view.setBackend(pugl::glBackend());
view.setHint(pugl::ViewHint::resizable, opts.resizable);