diff options
Diffstat (limited to 'engine/src')
-rw-r--r-- | engine/src/window.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/src/window.rs b/engine/src/window.rs index 0d0bac4..294d9ed 100644 --- a/engine/src/window.rs +++ b/engine/src/window.rs @@ -16,6 +16,7 @@ mod reexports pub use glfw::window::{ CursorMode, Hint as CreationHint, + HintValue as CreationHintValue, InputMode, Key, KeyModifiers, @@ -188,7 +189,7 @@ pub struct Builder impl Builder { #[must_use] - pub fn creation_hint(mut self, hint: CreationHint, value: i32) -> Self + pub fn creation_hint(mut self, hint: CreationHint, value: CreationHintValue) -> Self { self.inner = self.inner.hint(hint, value); |