From f7eab2059027aa2b1ea8ba1a9f37e9b8bcebf507 Mon Sep 17 00:00:00 2001 From: AtlasProgramming Date: Fri, 4 Jul 2025 12:37:38 -0400 Subject: [PATCH] Fix render pipeline state bug (#3598) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: “Malcolm <“mtoon@atlasprogramming.com”> --- src/mbgl/mtl/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/mtl/context.cpp b/src/mbgl/mtl/context.cpp index 81f13ada1..d7d276eeb 100644 --- a/src/mbgl/mtl/context.cpp +++ b/src/mbgl/mtl/context.cpp @@ -382,7 +382,7 @@ bool Context::renderTileClippingMasks(gfx::RenderPass& renderPass, } } if (clipMaskPipelineState) { - encoder->setRenderPipelineState(clipMaskPipelineState.get()); + mtlRenderPass.setRenderPipelineState(clipMaskPipelineState); } else { assert(!"Failed to create render pipeline state for clip masking"); return false;