Metal backend, part 3

This commit is contained in:
tildearrow 2024-04-12 00:20:29 -05:00
parent fe2cf4b508
commit 8bd104f783

View file

@ -105,7 +105,7 @@ void FurnaceGUIRenderMetal::clear(ImVec4 color) {
priv->renderPass.colorAttachments[0].texture=priv->drawable.texture;
priv->renderPass.colorAttachments[0].loadAction=MTLLoadActionClear;
priv->renderPass.colorAttachments[0].storeAction=MTLStoreActionStore;
priv->renderEncoder=[commandBuffer renderCommandEncoderWithDescriptor:renderPassDescriptor];
priv->renderEncoder=[priv->cmdBuf renderCommandEncoderWithDescriptor:renderPassDescriptor];
}
bool FurnaceGUIRenderMetal::newFrame() {