Fix errors
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s

This commit is contained in:
Florian RICHER 2024-11-20 20:08:31 +01:00
parent 1dc9da0d61
commit 2590db0a06
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
8 changed files with 123 additions and 88 deletions

View file

@ -16,7 +16,7 @@ pub struct VkDevice {
impl VkDevice {
pub(super) fn new_graphics_device(
instance: Arc<VkInstance>,
instance: &Arc<VkInstance>,
physical_device: &VkPhysicalDevice,
queue_family_index: u32,
) -> anyhow::Result<Self> {
@ -56,7 +56,7 @@ impl VkDevice {
let swapchain_loader = ash::khr::swapchain::Device::new(&instance.handle, &device);
Ok(Self {
instance,
instance: instance.clone(),
handle: device,
swapchain_loader,
queue_family_index,