diff options
Diffstat (limited to 'examples/pugl_vulkan_cxx_demo.cpp')
-rw-r--r-- | examples/pugl_vulkan_cxx_demo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pugl_vulkan_cxx_demo.cpp b/examples/pugl_vulkan_cxx_demo.cpp index e816091..d92e652 100644 --- a/examples/pugl_vulkan_cxx_demo.cpp +++ b/examples/pugl_vulkan_cxx_demo.cpp @@ -1722,6 +1722,7 @@ run(const char* const programPath, app.view.setAspectRatio(1, 1, 16, 9); app.view.setDefaultSize(width, height); app.view.setMinSize(width / 4, height / 4); + app.view.setMaxSize(width * 4, height * 4); app.view.setBackend(pugl::vulkanBackend()); app.view.setHint(pugl::ViewHint::resizable, opts.resizable); const pugl::Status st = app.view.realize(); |