aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/include/pugl
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 /bindings/cpp/include/pugl
parenta45fb20347d4474a2e3cacc8da3c2d3a465a3aed (diff)
downloadpugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.gz
pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.bz2
pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.zip
Prepare OpenGL context flags for OpenGL ES support
Diffstat (limited to 'bindings/cpp/include/pugl')
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp
index 4fe7244..88d8fd5 100644
--- a/bindings/cpp/include/pugl/pugl.hpp
+++ b/bindings/cpp/include/pugl/pugl.hpp
@@ -342,10 +342,11 @@ enum class SizeHint {
/// @copydoc PuglViewHint
enum class ViewHint {
- useCompatProfile, ///< @copydoc PUGL_USE_COMPAT_PROFILE
- useDebugContext, ///< @copydoc PUGL_USE_DEBUG_CONTEXT
+ contextAPI, ///< @copydoc PUGL_CONTEXT_API
contextVersionMajor, ///< @copydoc PUGL_CONTEXT_VERSION_MAJOR
contextVersionMinor, ///< @copydoc PUGL_CONTEXT_VERSION_MINOR
+ contextProfile, ///< @copydoc PUGL_CONTEXT_PROFILE
+ contextDebug, ///< @copydoc PUGL_CONTEXT_DEBUG
redBits, ///< @copydoc PUGL_RED_BITS
greenBits, ///< @copydoc PUGL_GREEN_BITS
blueBits, ///< @copydoc PUGL_BLUE_BITS