aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/pugl/examples/pugl_cairo_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/d2tk/pugl/examples/pugl_cairo_demo.c')
-rw-r--r--subprojects/d2tk/pugl/examples/pugl_cairo_demo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/d2tk/pugl/examples/pugl_cairo_demo.c b/subprojects/d2tk/pugl/examples/pugl_cairo_demo.c
index 4da0caf..67bc13c 100644
--- a/subprojects/d2tk/pugl/examples/pugl_cairo_demo.c
+++ b/subprojects/d2tk/pugl/examples/pugl_cairo_demo.c
@@ -231,6 +231,7 @@ main(int argc, char** argv)
puglSetWindowTitle(view, "Pugl Cairo Demo");
puglSetDefaultSize(view, 512, 512);
puglSetMinSize(view, 256, 256);
+ puglSetMaxSize(view, 2048, 2048);
puglSetViewHint(view, PUGL_RESIZABLE, app.opts.resizable);
puglSetHandle(view, &app);
puglSetBackend(view, puglCairoBackend());