aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 12:54:56 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 22:31:51 -0500
commitf1524acbd3e708d1764b7f1533d707b22254ae95 (patch)
tree83a0a08ca2a7360abaca32e2717090e07b21f0aa /test/test_utils.h
parent1e8431373a494c27c74e34bfa7ab0247e3c29677 (diff)
downloadpugl-f1524acbd3e708d1764b7f1533d707b22254ae95.tar.gz
pugl-f1524acbd3e708d1764b7f1533d707b22254ae95.tar.bz2
pugl-f1524acbd3e708d1764b7f1533d707b22254ae95.zip
Add PUGL_SAMPLE_BUFFERS hint
Towards a more direct and explicit mapping to platform hints, and more consistent behaviour across platforms. OpenGL applications are generally expected to be explicit about hints like this.
Diffstat (limited to 'test/test_utils.h')
-rw-r--r--test/test_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_utils.h b/test/test_utils.h
index 85276fb..db3485b 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -275,6 +275,8 @@ puglViewHintString(const PuglViewHint hint)
return "Depth bits";
case PUGL_STENCIL_BITS:
return "Stencil bits";
+ case PUGL_SAMPLE_BUFFERS:
+ return "Sample buffers";
case PUGL_SAMPLES:
return "Samples";
case PUGL_DOUBLE_BUFFER: