diff --git a/src/main.rs b/src/main.rs index dce6ee8..e14e0eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use std::error::Error; -use glam::{uvec2, UVec2}; +use glam::uvec2; use winit::{ event::{Event, WindowEvent}, event_loop::EventLoop, @@ -8,7 +8,6 @@ use winit::{ }; struct GameState { - size: UVec2, last: wgpu::TextureView, next: wgpu::TextureView, } @@ -194,7 +193,7 @@ fn main() { drop(render_pass); queue.submit(std::iter::once(encoder.finish())); - state = Some(GameState { size, last, next }); + state = Some(GameState { last, next }); } WindowEvent::RedrawRequested => { let Some(state) = &mut state else {