animations: rewrite animations with improved surface capabilities
This commit is contained in:
@@ -49,7 +49,7 @@ fn main() {
|
||||
|
||||
log::info!("Creating runner");
|
||||
let mut runner = task::Scheduler::new(vec![
|
||||
Box::new(animations::IdleTask::new(display.new_surface(&Rectangle::everything()).unwrap())),
|
||||
Box::new(animations::IdleTask::new(&mut display)),
|
||||
Box::new(animations::TestPattern::new(display.new_surface(&Rectangle::everything()).unwrap())),
|
||||
Box::new(Renderer::new(display)),
|
||||
]);
|
||||
|
Reference in New Issue
Block a user