More iOS work

This commit is contained in:
wheremyfoodat 2025-03-06 23:45:14 +02:00
parent 9bc50a4b9c
commit 432eb0d2b3

View file

@ -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();