Remove unused field
This commit is contained in:
parent
d78c12378f
commit
c39fca1567
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user