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_hints.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_hints.c')
-rw-r--r-- | test/test_gl_hints.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_gl_hints.c b/test/test_gl_hints.c index 9a0b168..e0114ff 100644 --- a/test/test_gl_hints.c +++ b/test/test_gl_hints.c @@ -34,7 +34,8 @@ main(void) puglSetWindowTitle(view, "Pugl OpenGL Hints Test"); puglSetBackend(view, puglGlBackend()); puglSetEventFunc(view, onEvent); - puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 512, 512); + puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(view, 128, 128); // Check invalid cases assert(puglSetViewHint(view, PUGL_CONTEXT_API, PUGL_DONT_CARE) == |