diff options
author | David Robillard <d@drobilla.net> | 2023-01-11 11:10:19 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-11 11:10:19 -0500 |
commit | 94fec62ba519e3e846e02327a3ece0e6bcaa016b (patch) | |
tree | 14be8aa27868f2198194e39374b9ad4407960ace /test/test_gl.c | |
parent | 0f68cd00eb06ca1d7a4bdbb9e94ec060e784bd50 (diff) | |
download | pugl-94fec62ba519e3e846e02327a3ece0e6bcaa016b.tar.gz pugl-94fec62ba519e3e846e02327a3ece0e6bcaa016b.tar.bz2 pugl-94fec62ba519e3e846e02327a3ece0e6bcaa016b.zip |
Spread tests around the screen
This makes it unlikely for tests to be completely obscured, which should
hopefully make things a bit more consistent and reliable, especially when
running all of the tests in parallel. It also makes things a bit less visually
confusing.
Diffstat (limited to 'test/test_gl.c')
-rw-r--r-- | test/test_gl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_gl.c b/test/test_gl.c index 6b28619..a53854a 100644 --- a/test/test_gl.c +++ b/test/test_gl.c @@ -84,7 +84,8 @@ main(int argc, char** argv) puglSetHandle(test.view, &test); puglSetBackend(test.view, puglGlBackend()); puglSetEventFunc(test.view, onEvent); - puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512); + puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(test.view, 384, 896); puglShow(test.view, PUGL_SHOW_RAISE); // Enter OpenGL context as if setting things up |