This commit is contained in:
parent
596f9a3756
commit
304a00f49b
@ -140,8 +140,6 @@ fn ligth_controll(
|
|||||||
render.remove_animation(ani.ok().unwrap());
|
render.remove_animation(ani.ok().unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("loop");
|
|
||||||
|
|
||||||
render.render();
|
render.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -343,8 +343,6 @@ impl Render {
|
|||||||
self.last = data.clone();
|
self.last = data.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("Try Render {} - {} = {} < 33 = {}", time, self.last_update, (time - self.last_update), (time - self.last_update) < 33);
|
|
||||||
|
|
||||||
if (time - self.last_update) < 33 {
|
if (time - self.last_update) < 33 {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user