Compare commits

...

2 commits

Author SHA1 Message Date
e589fd881c Update Rust crate rusqlite to 0.33.0 2025-03-01 12:02:37 +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

@ -34,7 +34,7 @@ chrono = { version = "0.4.35", features = ["serde"] }
anyhow = { version = "1.0.86", features = ["backtrace"] } anyhow = { version = "1.0.86", features = ["backtrace"] }
indexmap = { version = "2.2.6", features = ["rayon"] } indexmap = { version = "2.2.6", features = ["rayon"] }
shaderc = { version = "0.8.3", features = ["build-from-source"] } shaderc = { version = "0.8.3", features = ["build-from-source"] }
rusqlite = { version = "0.32.0", features = ["bundled"] } rusqlite = { version = "0.33.0", features = ["bundled"] }
cgmath = "0.18.0" cgmath = "0.18.0"
http = "1.1.0" http = "1.1.0"
iterchunks = "0.5.0" iterchunks = "0.5.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())?;