From 4bb9fc2c422f22765a02f3c5170c061bf4afe0f6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Jun 2020 21:15:58 +0200 Subject: Windows: Fix maximum size --- examples/pugl_embed_demo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') 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()); -- cgit v1.2.1