aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 20:13:08 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 22:32:09 -0500
commitb2b917da14cbab770905232c8cf5680fa79cea8e (patch)
tree389a6ea726f8a2fa8c6df22808a183b121608c3b /test/test_utils.h
parenta45fb20347d4474a2e3cacc8da3c2d3a465a3aed (diff)
downloadpugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.gz
pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.bz2
pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.zip
Prepare OpenGL context flags for OpenGL ES support
Diffstat (limited to 'test/test_utils.h')
-rw-r--r--test/test_utils.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/test_utils.h b/test/test_utils.h
index db3485b..8e21d97 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -255,14 +255,16 @@ static inline const char*
puglViewHintString(const PuglViewHint hint)
{
switch (hint) {
- case PUGL_USE_COMPAT_PROFILE:
- return "Use compatible profile";
- case PUGL_USE_DEBUG_CONTEXT:
- return "Use debug context";
+ case PUGL_CONTEXT_API:
+ return "Context API";
case PUGL_CONTEXT_VERSION_MAJOR:
return "Context major version";
case PUGL_CONTEXT_VERSION_MINOR:
return "Context minor version";
+ case PUGL_CONTEXT_PROFILE:
+ return "Context profile";
+ case PUGL_CONTEXT_DEBUG:
+ return "Context debug";
case PUGL_RED_BITS:
return "Red bits";
case PUGL_GREEN_BITS: