aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-21 17:22:22 +0200
committerDavid Robillard <d@drobilla.net>2019-07-21 17:24:42 +0200
commitb5edd05a1ca4a91cdf91afa86efce806528a62b5 (patch)
treeba903b6719268926a8e584f6b41be75a8404b976
parentfa4b48b517bd7b96cb978fb68b974895502c005a (diff)
Set square aspect ratio on pugl_test window
-rw-r--r--pugl_test.c1
1 files changed, 1 insertions, 0 deletions
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);