From 8a150830d1db0618001d95f2e91d055680d8258c Mon Sep 17 00:00:00 2001 From: Wael El Oraiby Date: Mon, 6 May 2024 23:11:29 -0400 Subject: [PATCH] Add todo comments for metal --- src/graphics/metal.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/graphics/metal.rs b/src/graphics/metal.rs index 2e95c4e5..fcc7d0cc 100644 --- a/src/graphics/metal.rs +++ b/src/graphics/metal.rs @@ -1248,8 +1248,13 @@ impl RenderingBackend for MetalContext { } } - fn delete_shader(&mut self, shader: ShaderId) {} - fn delete_pipeline(&mut self, pipeline: Pipeline) {} + fn delete_shader(&mut self, shader: ShaderId) { + // TODO: place holder + } + fn delete_pipeline(&mut self, pipeline: Pipeline) { + // TODO: place holder + } + fn commit_frame(&mut self) { unsafe { assert!(!self.command_queue.is_null());