aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-02-01 01:03:46 +0100
committerDavid Robillard <d@drobilla.net>2021-02-01 01:03:46 +0100
commitfadf8abb53034ae9517de70e2f04c05b4342df38 (patch)
tree3863ca10102aa913398143fde18f6d5e1113872f /examples/pugl_window_demo.c
parent2d3100e47eee6a8bf2209ee19157de6d23dd1c55 (diff)
downloadpugl-fadf8abb53034ae9517de70e2f04c05b4342df38.tar.gz
pugl-fadf8abb53034ae9517de70e2f04c05b4342df38.tar.bz2
pugl-fadf8abb53034ae9517de70e2f04c05b4342df38.zip
Set maximum size in example programs
Diffstat (limited to 'examples/pugl_window_demo.c')
-rw-r--r--examples/pugl_window_demo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index be320dd..f7d5b2c 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -209,6 +209,7 @@ main(int argc, char** argv)
puglSetFrame(view, frame);
puglSetDefaultSize(view, 512, 512);
puglSetMinSize(view, 128, 128);
+ puglSetMaxSize(view, 2048, 2048);
puglSetBackend(view, puglGlBackend());
puglSetViewHint(view, PUGL_USE_DEBUG_CONTEXT, opts.errorChecking);