mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 18:42:40 +00:00
Metal backend, part 8
This commit is contained in:
parent
e180bb5ea0
commit
887b418eae
1 changed files with 0 additions and 3 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue