From b5edd05a1ca4a91cdf91afa86efce806528a62b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jul 2019 17:22:22 +0200 Subject: Set square aspect ratio on pugl_test window --- pugl_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pugl_test.c b/pugl_test.c index 3656773..8425611 100644 --- a/pugl_test.c +++ b/pugl_test.c @@ -276,6 +276,7 @@ main(int argc, char** argv) puglInitWindowClass(view, "PuglTest"); puglInitWindowSize(view, 512, 512); puglInitWindowMinSize(view, 256, 256); + puglInitWindowAspectRatio(view, 1, 1, 1, 1); puglInitResizable(view, resizable); puglInitWindowHint(view, PUGL_SAMPLES, samples); -- cgit v1.2.1