From c7b110392e0c92c5709021d228a0fafdb0cae0d6 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Sat, 1 Mar 2025 10:16:52 +0100 Subject: [PATCH] Add image format --- skybox/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/skybox/src/lib.rs b/skybox/src/lib.rs index 2715cdf..a351e14 100644 --- a/skybox/src/lib.rs +++ b/skybox/src/lib.rs @@ -46,6 +46,7 @@ impl SkyBox { images.top.try_into()?, images.bottom.try_into()?, ])? + .format(VK_FORMAT_R8G8B8A8_UNORM) .max_mip_map_levels() .attach_pretty_sampler(context.device())? .build(context.device(), context.queue())?;