From 887b418eae936d9a0e3da189369d63eef99144b4 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 14 Apr 2024 19:21:53 -0500 Subject: [PATCH] Metal backend, part 8 --- src/gui/render/renderMetal.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/render/renderMetal.mm b/src/gui/render/renderMetal.mm index fd7734afa..43cd210d7 100644 --- a/src/gui/render/renderMetal.mm +++ b/src/gui/render/renderMetal.mm @@ -110,15 +110,12 @@ void FurnaceGUIRenderMetal::clear(ImVec4 color) { if (priv->drawable) { [priv->drawable release]; - priv->drawable=NULL; } if (priv->cmdBuf) { [priv->cmdBuf release]; - priv->cmdBuf=NULL; } if (priv->renderEncoder) { [priv->renderEncoder release]; - priv->renderEncoder=NULL; } priv->drawable=[priv->context nextDrawable];