More iOS work
This commit is contained in:
@@ -845,7 +845,7 @@ void RendererMTL::beginRenderPassIfNeeded(
|
|||||||
) {
|
) {
|
||||||
createCommandBufferIfNeeded();
|
createCommandBufferIfNeeded();
|
||||||
|
|
||||||
if (1 ||doesClears || !renderCommandEncoder || colorTexture != lastColorTexture ||
|
if (doesClears || !renderCommandEncoder || colorTexture != lastColorTexture ||
|
||||||
(depthTexture != lastDepthTexture && !(lastDepthTexture && !depthTexture))) {
|
(depthTexture != lastDepthTexture && !(lastDepthTexture && !depthTexture))) {
|
||||||
endRenderPass();
|
endRenderPass();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user