wgpu: Update to 0.10

This commit is contained in:
Poly 2021-08-19 03:06:35 +02:00
parent 663c3685da
commit 18753b77fc
14 changed files with 100 additions and 89 deletions

View file

@ -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,