From ef07d7936a0edc887a5c888e57e574ec8cce6782 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 6 Dec 2022 22:19:48 +0900 Subject: [PATCH] Fix "brighter" displayed album art bug --- src/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.rs b/src/display.rs index 61ccf09..1ea1ac8 100644 --- a/src/display.rs +++ b/src/display.rs @@ -442,7 +442,7 @@ impl MPDDisplay { let ggez_img = Image::from_pixels( ctx, rgba8.as_raw(), - wgpu::TextureFormat::Rgba8Unorm, + wgpu::TextureFormat::Rgba8UnormSrgb, rgba8.width(), rgba8.height(), );