diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2021-04-14 11:04:53 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2021-04-14 11:04:53 +0200 |
commit | 3007dd352c553ce465ec3746fb022ac0d9aad26a (patch) | |
tree | b0163d7d3edd3b19eeeb4317ad45b98351aeb5fb /subprojects/d2tk/pugl/examples/pugl_vulkan_cxx_demo.cpp | |
parent | 80ecee6c568afa4448e8a69f997fc40d2f0ff13e (diff) | |
parent | 0348c6d4b26e2970723c56913f217d737a435b3a (diff) | |
download | mephisto.lv2-3007dd352c553ce465ec3746fb022ac0d9aad26a.tar.xz |
Merge commit '0348c6d4b26e2970723c56913f217d737a435b3a'
Diffstat (limited to 'subprojects/d2tk/pugl/examples/pugl_vulkan_cxx_demo.cpp')
-rw-r--r-- | subprojects/d2tk/pugl/examples/pugl_vulkan_cxx_demo.cpp | 1 |
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(); |