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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cxx_demo.cpp
index 9522534..4addee2 100644
--- a/examples/pugl_cxx_demo.cpp
+++ b/examples/pugl_cxx_demo.cpp
@@ -122,7 +122,7 @@ main(int argc, char** argv)
world.setClassName("PuglCppTest");
view.setWindowTitle("Pugl C++ Test");
- view.setFrame({0, 0, 512, 512});
+ view.setDefaultSize(512, 512);
view.setMinSize(64, 64);
view.setAspectRatio(1, 1, 16, 9);
view.setBackend(pugl::glBackend());