Compare commits

...

2 commits

Author SHA1 Message Date
72a5f250d4 Update Rust crate quick-xml to 0.37.0
Some checks failed
Gavania Merge Build / build (pull_request) Failing after 2m28s
2025-02-28 15:06:03 +00:00
8aacebd16d Fix image changes 2025-02-28 15:10:04 +01:00
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ authors = ["hodasemi <michaelh.95@t-online.de>"]
edition = "2024" edition = "2024"
[dependencies] [dependencies]
quick-xml = "0.31.0" quick-xml = "0.37.0"
serde = { version = "1.0.203", features = ["derive"] } serde = { version = "1.0.203", features = ["derive"] }
serde_json = { version = "1.0.120" } serde_json = { version = "1.0.120" }
vulkan-rs = { git = "https://gavania.de/hodasemi/vulkan_lib.git" } vulkan-rs = { git = "https://gavania.de/hodasemi/vulkan_lib.git" }

View file

@ -446,7 +446,7 @@ impl GuiHandler {
let image = Image::from_file(path)? let image = Image::from_file(path)?
.max_mip_map_levels() .max_mip_map_levels()
.attach_sampler(Sampler::pretty_sampler().build(self.device())?) .attach_pretty_sampler(self.device())?
.build(self.device(), self.queue())?; .build(self.device(), self.queue())?;
*weak_image = Arc::downgrade(&image); *weak_image = Arc::downgrade(&image);
@ -467,7 +467,7 @@ impl GuiHandler {
let image = Image::from_file(path.clone())? let image = Image::from_file(path.clone())?
.max_mip_map_levels() .max_mip_map_levels()
.attach_sampler(Sampler::pretty_sampler().build(self.device())?) .attach_pretty_sampler(self.device())?
.build(self.device(), self.queue())?; .build(self.device(), self.queue())?;
internal_icons.insert(path, Arc::downgrade(&image)); internal_icons.insert(path, Arc::downgrade(&image));
@ -1378,7 +1378,7 @@ impl GuiHandler {
} }
.format(VK_FORMAT_R8G8B8A8_UNORM) .format(VK_FORMAT_R8G8B8A8_UNORM)
.max_mip_map_levels() .max_mip_map_levels()
.attach_sampler(Sampler::pretty_sampler().build(device)?) .attach_pretty_sampler(device)?
.build(device, queue)?; .build(device, queue)?;
let descriptor_pool = DescriptorPool::builder() let descriptor_pool = DescriptorPool::builder()