From b2b917da14cbab770905232c8cf5680fa79cea8e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Jan 2023 20:13:08 -0500 Subject: Prepare OpenGL context flags for OpenGL ES support --- bindings/cpp/include/pugl/pugl.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bindings/cpp/include') 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 -- cgit v1.2.1