From 786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Jan 2023 17:34:00 -0500 Subject: Add missing hint to C++ bindings --- bindings/cpp/include/pugl/pugl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings') diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index 2119bda..109e947 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -360,10 +360,10 @@ enum class ViewHint { resizable, ///< @copydoc PUGL_RESIZABLE ignoreKeyRepeat, ///< @copydoc PUGL_IGNORE_KEY_REPEAT refreshRate, ///< @copydoc PUGL_REFRESH_RATE + viewType, ///< @copydoc PUGL_VIEW_TYPE }; -static_assert(static_cast(PUGL_REFRESH_RATE) == ViewHint::refreshRate, - ""); +static_assert(static_cast(PUGL_VIEW_TYPE) == ViewHint::viewType, ""); using ViewHintValue = PuglViewHintValue; ///< @copydoc PuglViewHintValue -- cgit v1.2.1