gardesk/garbg / 434d22e

Browse files

use scale_image_fast in animation_loop

Authored by espadonne
SHA
434d22ea64a86072c9704d0bf047232dde1311fb
Parents
85f4ab7
Tree
09b7124

1 changed file

StatusFile+-
M garbg/src/daemon/animation_loop.rs 2 2
garbg/src/daemon/animation_loop.rsmodified
@@ -8,7 +8,7 @@ use std::sync::Arc;
88
 use std::time::{Duration, Instant};
99
 
1010
 use crate::config::ScaleMode;
11
-use crate::media::{scale_image, AnimatedGif};
11
+use crate::media::{scale_image_fast, AnimatedGif};
1212
 use crate::x11::{AnimationRenderer, Connection};
1313
 
1414
 /// Configuration for the animation loop
@@ -63,7 +63,7 @@ impl AnimationLoop {
6363
             .frames()
6464
             .iter()
6565
             .map(|frame| {
66
-                scale_image(
66
+                scale_image_fast(
6767
                     &frame.image,
6868
                     screen_width as u32,
6969
                     screen_height as u32,