Fix "brighter" displayed album art bug

This commit is contained in:
Stephen Seo 2022-12-06 22:19:48 +09:00
parent 7f6a24545c
commit ef07d7936a

View file

@ -442,7 +442,7 @@ impl MPDDisplay {
let ggez_img = Image::from_pixels( let ggez_img = Image::from_pixels(
ctx, ctx,
rgba8.as_raw(), rgba8.as_raw(),
wgpu::TextureFormat::Rgba8Unorm, wgpu::TextureFormat::Rgba8UnormSrgb,
rgba8.width(), rgba8.width(),
rgba8.height(), rgba8.height(),
); );