aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-06-08 21:15:58 +0200
committerDavid Robillard <d@drobilla.net>2020-06-08 21:15:58 +0200
commit4bb9fc2c422f22765a02f3c5170c061bf4afe0f6 (patch)
tree835a8f1448fa314b57d14616aa871771cef503ce /examples
parentfe96ed3c451548278197e2da74d3d53b1d6a8dd9 (diff)
downloadpugl-4bb9fc2c422f22765a02f3c5170c061bf4afe0f6.tar.gz
pugl-4bb9fc2c422f22765a02f3c5170c061bf4afe0f6.tar.bz2
pugl-4bb9fc2c422f22765a02f3c5170c061bf4afe0f6.zip
Windows: Fix maximum size
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_embed_demo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c
index bf7f19c..e21dd55 100644
--- a/examples/pugl_embed_demo.c
+++ b/examples/pugl_embed_demo.c
@@ -295,6 +295,7 @@ main(int argc, char** argv)
const PuglRect parentFrame = { 0, 0, 512, 512 };
puglSetDefaultSize(app.parent, 512, 512);
puglSetMinSize(app.parent, borderWidth * 3, borderWidth * 3);
+ puglSetMaxSize(app.parent, 1024, 1024);
puglSetAspectRatio(app.parent, 1, 1, 16, 9);
puglSetBackend(app.parent, puglGlBackend());