renderer/metal: release device on `deinit()`

pull/2586/head
Emily 2024-11-02 17:48:56 +00:00
parent e5f9f222b2
commit 9c8b00f87d
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ pub const GPUState = struct {
for (&self.frames) |*frame| frame.deinit();
self.instance.deinit();
self.queue.release();
self.device.release();
}
/// Get the next frame state to draw to. This will wait on the