Compare commits

...

2 commits

Author SHA1 Message Date
34d237d924 Update Rust crate mlua to 0.10.0 2025-03-01 12:02:30 +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

@ -41,7 +41,7 @@ iterchunks = "0.5.0"
reqwest = { version = "0.12.5", features = ["blocking"] } reqwest = { version = "0.12.5", features = ["blocking"] }
shared_library = "0.1.9" shared_library = "0.1.9"
gltf = { version = "1.4.1", features = ["extras", "names"] } gltf = { version = "1.4.1", features = ["extras", "names"] }
mlua = { version = "0.9.9", features = ["lua54", "send", "vendored"] } mlua = { version = "0.10.0", features = ["lua54", "send", "vendored"] }
public-ip = { version = "0.2.2", default-features = false, features = [ public-ip = { version = "0.2.2", default-features = false, features = [
"all-providers", "all-providers",
"tokio-dns-resolver", "tokio-dns-resolver",

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