diff --git a/src/graphics_worker.rs b/src/graphics_worker.rs index af66b2d6..af028ef7 100644 --- a/src/graphics_worker.rs +++ b/src/graphics_worker.rs @@ -17,12 +17,12 @@ WorkerDescription{ //up to three frames in flight, dropping new frame requests when all three are busy, and dropping output frames when one renders out of order pub fn new<'a>( - mut graphics:crate::graphics::GraphicsState, - mut config:wgpu::SurfaceConfiguration, - surface:wgpu::Surface<'a>, - device:wgpu::Device, - queue:wgpu::Queue, - )->crate::compat_worker::INWorker<'a,Instruction>{ + mut graphics:crate::graphics::GraphicsState, + mut config:wgpu::SurfaceConfiguration, + surface:wgpu::Surface<'a>, + device:wgpu::Device, + queue:wgpu::Queue, +)->crate::compat_worker::INWorker<'a,Instruction>{ let mut resize=None; crate::compat_worker::INWorker::new(move |ins:Instruction|{ match ins{