From fadf8abb53034ae9517de70e2f04c05b4342df38 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Feb 2021 01:03:46 +0100 Subject: Set maximum size in example programs --- examples/pugl_shader_demo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/pugl_shader_demo.c') 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); -- cgit v1.2.1