aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/pugl/examples/pugl_cxx_demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/d2tk/pugl/examples/pugl_cxx_demo.cpp')
-rw-r--r--subprojects/d2tk/pugl/examples/pugl_cxx_demo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/d2tk/pugl/examples/pugl_cxx_demo.cpp b/subprojects/d2tk/pugl/examples/pugl_cxx_demo.cpp
index 4914724..d663a3f 100644
--- a/subprojects/d2tk/pugl/examples/pugl_cxx_demo.cpp
+++ b/subprojects/d2tk/pugl/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);