Fix render pipeline state bug (#3598)
Co-authored-by: “Malcolm <“mtoon@atlasprogramming.com”>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user