loop: drive render loop by client commits + input
This commit is contained in:
parent
ca32139131
commit
56e72b4fef
5 changed files with 50 additions and 16 deletions
|
|
@ -27,7 +27,7 @@ fn main() -> Result<()> {
|
|||
// init wayland
|
||||
let display = init_wayland_display(&mut event_loop)?;
|
||||
// init state
|
||||
let mut state = state::State::new(display);
|
||||
let mut state = state::State::new(display, event_loop.handle());
|
||||
// init backend
|
||||
backend::init_backend_auto(&mut event_loop, &mut state)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue