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