summaryrefslogtreecommitdiff
path: root/glfw
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-24 22:59:14 +0200
committerHampusM <hampus@hampusmat.com>2024-05-24 22:59:14 +0200
commita1b108022ef8f4035af98b9d96eb30302d16c32f (patch)
treee46c787ec7018aab10e9e66b1333a3e751156ca5 /glfw
parent9ed8f23f3d88bd63ce762d222bbd47ff493c598a (diff)
refactor(glfw): make Hint non-exhaustive
Diffstat (limited to 'glfw')
-rw-r--r--glfw/src/window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs
index 05878a8..91e059d 100644
--- a/glfw/src/window.rs
+++ b/glfw/src/window.rs
@@ -427,6 +427,7 @@ impl Builder
/// Window creation hint
#[derive(Debug, Clone, Copy)]
#[repr(i32)]
+#[non_exhaustive]
pub enum Hint
{
OpenGLDebugContext = crate::ffi::GLFW_OPENGL_DEBUG_CONTEXT,