diff --git a/glfw/src/Window.zig b/glfw/src/Window.zig index d8463235..a99a615b 100644 --- a/glfw/src/Window.zig +++ b/glfw/src/Window.zig @@ -1707,7 +1707,7 @@ pub inline fn getInputMode(self: Window, mode: InputMode) isize { const value = c.glfwGetInputMode(self.handle, @enumToInt(mode)); // Possible errors: 'GLFW_NOT_INITIALIZED' and 'GLFW_INVALID_ENUM'; we guarantee both to be unreachable - getError() catch unreachable; + getError() catch unreachable; return @intCast(isize, value); }