Compare commits

..

1 commit

Author SHA1 Message Date
8ff523d50c Update Rust crate quick-xml to 0.37.0
Some checks failed
Gavania Merge Build / build (pull_request) Failing after 14m53s
2025-02-28 06:05:26 +00:00

View file

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