Add image format

This commit is contained in:
hodasemi 2025-03-01 10:16:52 +01:00
parent f90dfb6236
commit c7b110392e

View file

@ -46,6 +46,7 @@ impl SkyBox {
images.top.try_into()?, images.top.try_into()?,
images.bottom.try_into()?, images.bottom.try_into()?,
])? ])?
.format(VK_FORMAT_R8G8B8A8_UNORM)
.max_mip_map_levels() .max_mip_map_levels()
.attach_pretty_sampler(context.device())? .attach_pretty_sampler(context.device())?
.build(context.device(), context.queue())?; .build(context.device(), context.queue())?;