From 9e6d4379b87ca38137f586eed2f486b2e2b00fd8 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Mon, 22 Dec 2025 20:22:21 +0900 Subject: [PATCH] add bgr8-unorm to supported dds --- wlx-overlay-s/src/graphics/dds.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wlx-overlay-s/src/graphics/dds.rs b/wlx-overlay-s/src/graphics/dds.rs index f309ac8..cfacee0 100644 --- a/wlx-overlay-s/src/graphics/dds.rs +++ b/wlx-overlay-s/src/graphics/dds.rs @@ -75,6 +75,7 @@ pub fn dds_to_vk(dds_fmt: ImageFormat) -> anyhow::Result { ImageFormat::Rgba8UnormSrgb => Ok(Format::R8G8B8A8_SRGB), ImageFormat::Rgba16Float => Ok(Format::R16G16B16A16_SFLOAT), ImageFormat::Rgba32Float => Ok(Format::R32G32B32A32_SFLOAT), + ImageFormat::Bgr8Unorm => Ok(Format::B8G8R8_UNORM), ImageFormat::Bgra8Unorm => Ok(Format::B8G8R8A8_UNORM), ImageFormat::Bgra8UnormSrgb => Ok(Format::B8G8R8A8_SRGB), // DXT1