From 3775fd0b14412373dc8008dd2f33f449166ddd64 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 23 Oct 2023 14:15:27 -0700 Subject: [PATCH] rename --- src/render_thread.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/render_thread.rs b/src/render_thread.rs index db4d04c..68e25a9 100644 --- a/src/render_thread.rs +++ b/src/render_thread.rs @@ -37,11 +37,11 @@ impl RenderState{ graphics.generate_models(indexed_model_instances); //manual reset } - pub fn into_worker(mut self)->crate::worker::CNWorker>{ + pub fn into_worker(mut self)->crate::worker::QNWorker>{ let mut mouse_blocking=true; let mut last_mouse_time=self.physics.next_mouse.time; let mut timeline=std::collections::VecDeque::new(); - crate::worker::CNWorker::new(move |ins:TimedInstruction|{ + crate::worker::QNWorker::new(move |ins:TimedInstruction|{ let mut render=false; if if let Some(phys_input)=match ins.instruction{ InputInstruction::MoveMouse(m)=>{