renderer/metal: release device on `deinit()`
parent
e5f9f222b2
commit
9c8b00f87d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue