Compare commits

...

2 commits

Author SHA1 Message Date
e71bccaede Update Rust crate hostname to 0.4.0 2025-03-01 12:02:22 +00:00
c7b110392e Add image format 2025-03-01 10:16:52 +01:00
2 changed files with 2 additions and 1 deletions

View file

@ -48,7 +48,7 @@ public-ip = { version = "0.2.2", default-features = false, features = [
] } ] }
async-std = { version = "1.12.0" } async-std = { version = "1.12.0" }
if-addrs = { version = "0.13.0" } if-addrs = { version = "0.13.0" }
hostname = { version = "0.3.1" } hostname = { version = "0.4.0" }
trust-dns-resolver = { version = "0.23.2" } trust-dns-resolver = { version = "0.23.2" }
openxr = { version = "0.19.0", default-features = false, features = ["static"] } openxr = { version = "0.19.0", default-features = false, features = ["static"] }
openvr = { version = "0.6.0" } openvr = { version = "0.6.0" }

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())?;