aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-12 17:34:00 -0500
committerDavid Robillard <d@drobilla.net>2023-01-13 23:41:17 -0500
commit786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f (patch)
tree5e2b4362025fae5af4dbebe569540fc2824f8e5f /bindings/cpp
parentaf0f95c3f47c68a6745cb260f9345ccbcdd9e776 (diff)
downloadpugl-786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f.tar.gz
pugl-786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f.tar.bz2
pugl-786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f.zip
Add missing hint to C++ bindings
Diffstat (limited to 'bindings/cpp')
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp4
1 files changed, 2 insertions, 2 deletions
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<ViewHint>(PUGL_REFRESH_RATE) == ViewHint::refreshRate,
- "");
+static_assert(static_cast<ViewHint>(PUGL_VIEW_TYPE) == ViewHint::viewType, "");
using ViewHintValue = PuglViewHintValue; ///< @copydoc PuglViewHintValue