From 0b876c3d4e87b65ea3b3f05ec3274b16600e47fc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 3 Oct 2020 19:38:55 +0200 Subject: Add refresh rate hint --- pugl/pugl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pugl/pugl.hpp') diff --git a/pugl/pugl.hpp b/pugl/pugl.hpp index 4968da4..f6172d1 100644 --- a/pugl/pugl.hpp +++ b/pugl/pugl.hpp @@ -358,10 +358,10 @@ enum class ViewHint { swapInterval, ///< @copydoc PUGL_SWAP_INTERVAL resizable, ///< @copydoc PUGL_RESIZABLE ignoreKeyRepeat, ///< @copydoc PUGL_IGNORE_KEY_REPEAT + refreshRate, ///< @copydoc PUGL_REFRESH_RATE }; -static_assert(ViewHint(PUGL_IGNORE_KEY_REPEAT) == ViewHint::ignoreKeyRepeat, - ""); +static_assert(ViewHint(PUGL_REFRESH_RATE) == ViewHint::refreshRate, ""); using ViewHintValue = PuglViewHintValue; ///< @copydoc PuglViewHintValue -- cgit v1.2.1