wgpu: Update to 0.10
This commit is contained in:
parent
663c3685da
commit
18753b77fc
14 changed files with 100 additions and 89 deletions
|
|
@ -227,7 +227,7 @@ async fn run_instance<A, E, C>(
|
|||
use iced_futures::futures::stream::StreamExt;
|
||||
use winit::event;
|
||||
|
||||
let surface = compositor.create_surface(&window);
|
||||
let mut surface = compositor.create_surface(&window);
|
||||
let mut clipboard = Clipboard::connect(&window);
|
||||
|
||||
let mut state = State::new(&application, &window);
|
||||
|
|
@ -370,6 +370,7 @@ async fn run_instance<A, E, C>(
|
|||
match compositor.draw(
|
||||
&mut renderer,
|
||||
&mut swap_chain,
|
||||
&mut surface,
|
||||
state.viewport(),
|
||||
state.background_color(),
|
||||
&primitive,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue