diff options
author | David Robillard <d@drobilla.net> | 2019-07-21 17:22:22 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-21 17:24:42 +0200 |
commit | b5edd05a1ca4a91cdf91afa86efce806528a62b5 (patch) | |
tree | ba903b6719268926a8e584f6b41be75a8404b976 /pugl_test.c | |
parent | fa4b48b517bd7b96cb978fb68b974895502c005a (diff) | |
download | pugl-b5edd05a1ca4a91cdf91afa86efce806528a62b5.tar.gz pugl-b5edd05a1ca4a91cdf91afa86efce806528a62b5.tar.bz2 pugl-b5edd05a1ca4a91cdf91afa86efce806528a62b5.zip |
Set square aspect ratio on pugl_test window
Diffstat (limited to 'pugl_test.c')
-rw-r--r-- | pugl_test.c | 1 |
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); |