diff options
author | David Robillard <d@drobilla.net> | 2020-10-03 19:38:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-04 12:52:37 +0200 |
commit | 0b876c3d4e87b65ea3b3f05ec3274b16600e47fc (patch) | |
tree | 09f4cb47953ac769c8b740900ea9b54ac8639a52 /test/test_gl_hints.c | |
parent | a36408b7c641e0b9052315aed87ce8e591a6a717 (diff) | |
download | pugl-0b876c3d4e87b65ea3b3f05ec3274b16600e47fc.tar.gz pugl-0b876c3d4e87b65ea3b3f05ec3274b16600e47fc.tar.bz2 pugl-0b876c3d4e87b65ea3b3f05ec3274b16600e47fc.zip |
Add refresh rate hint
Diffstat (limited to 'test/test_gl_hints.c')
-rw-r--r-- | test/test_gl_hints.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_gl_hints.c b/test/test_gl_hints.c index 0e8efbb..a40fdfa 100644 --- a/test/test_gl_hints.c +++ b/test/test_gl_hints.c @@ -57,6 +57,7 @@ main(void) assert(!puglSetViewHint(view, PUGL_STENCIL_BITS, PUGL_DONT_CARE)); assert(!puglSetViewHint(view, PUGL_SAMPLES, PUGL_DONT_CARE)); assert(!puglSetViewHint(view, PUGL_DOUBLE_BUFFER, PUGL_DONT_CARE)); + assert(!puglSetViewHint(view, PUGL_REFRESH_RATE, PUGL_DONT_CARE)); // Realize view and print all hints for debugging convenience assert(!puglRealize(view)); @@ -78,6 +79,7 @@ main(void) assert(puglGetViewHint(view, PUGL_SWAP_INTERVAL) != PUGL_DONT_CARE); assert(puglGetViewHint(view, PUGL_RESIZABLE) != PUGL_DONT_CARE); assert(puglGetViewHint(view, PUGL_IGNORE_KEY_REPEAT) != PUGL_DONT_CARE); + assert(puglGetViewHint(view, PUGL_REFRESH_RATE) != PUGL_DONT_CARE); // Tear down puglFreeView(view); |