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