aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_embed_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_embed_demo.c')
-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());