diff options
author | David Robillard <d@drobilla.net> | 2021-02-01 01:03:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-02-01 01:03:46 +0100 |
commit | fadf8abb53034ae9517de70e2f04c05b4342df38 (patch) | |
tree | 3863ca10102aa913398143fde18f6d5e1113872f /examples/pugl_shader_demo.c | |
parent | 2d3100e47eee6a8bf2209ee19157de6d23dd1c55 (diff) | |
download | pugl-fadf8abb53034ae9517de70e2f04c05b4342df38.tar.gz pugl-fadf8abb53034ae9517de70e2f04c05b4342df38.tar.bz2 pugl-fadf8abb53034ae9517de70e2f04c05b4342df38.zip |
Set maximum size in example programs
Diffstat (limited to 'examples/pugl_shader_demo.c')
-rw-r--r-- | examples/pugl_shader_demo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c index 087afc5..aa5c38e 100644 --- a/examples/pugl_shader_demo.c +++ b/examples/pugl_shader_demo.c @@ -275,6 +275,7 @@ setupPugl(PuglTestApp* app) puglSetWindowTitle(app->view, "Pugl OpenGL 3"); puglSetDefaultSize(app->view, defaultWidth, defaultHeight); puglSetMinSize(app->view, defaultWidth / 4, defaultHeight / 4); + puglSetMaxSize(app->view, defaultWidth * 4, defaultHeight * 4); puglSetAspectRatio(app->view, 1, 1, 16, 9); puglSetBackend(app->view, puglGlBackend()); puglSetViewHint(app->view, PUGL_USE_COMPAT_PROFILE, PUGL_FALSE); |