Metal backend, part 3
This commit is contained in:
parent
fe2cf4b508
commit
8bd104f783
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue