This commit is contained in:
galister
2024-11-05 03:44:32 +09:00
parent 9da1c509e3
commit ced753235e
2 changed files with 2 additions and 6 deletions

View File

@@ -848,7 +848,7 @@ impl WlxGraphics {
let file = std::fs::File::from_raw_fd(fd);
let new_file = file.try_clone()?;
file.into_raw_fd();
let _ = file.into_raw_fd();
let memory = DeviceMemory::allocate_unchecked(
self.device.clone(),