animations: build++

This commit is contained in:
Victoria Fischer 2024-11-29 16:40:49 +01:00
parent a002b72567
commit 5ca062adbd

View File

@ -64,7 +64,7 @@ impl Shader for GayBarberShader {
} }
impl<T: Surface> IdleTask<T> { impl<T: Surface> IdleTask<T> {
pub fn new<S: Surfaces<T>(surfaces: &mut S) -> Self { pub fn new<S: Surfaces<T>>(surfaces: &mut S) -> Self {
IdleTask { IdleTask {
solid: surfaces.new_surface(&Rectangle::everything()).unwrap(), solid: surfaces.new_surface(&Rectangle::everything()).unwrap(),
surface: surfaces.new_surface(&Rectangle::everything()).unwrap(), surface: surfaces.new_surface(&Rectangle::everything()).unwrap(),