Metal backend, part 8

This commit is contained in:
tildearrow 2024-04-14 19:21:53 -05:00
parent e180bb5ea0
commit 887b418eae

View file

@ -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];