From 4b9afa440e03e8e7a1574561a4c291a5f01302e8 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Wed, 25 Nov 2020 09:42:42 +0800 Subject: [PATCH] Fix the display error of the mask scene. (#7861) --- cocos/core/gfx/pipeline-state.jsb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/core/gfx/pipeline-state.jsb.ts b/cocos/core/gfx/pipeline-state.jsb.ts index caac8c35ce..0861143a50 100644 --- a/cocos/core/gfx/pipeline-state.jsb.ts +++ b/cocos/core/gfx/pipeline-state.jsb.ts @@ -298,7 +298,7 @@ export class DepthStencilState { if (stencilFuncBack !== undefined) this.stencilFuncBack = stencilFuncBack; if (stencilReadMaskBack !== undefined) this.stencilReadMaskBack = stencilReadMaskBack; if (stencilWriteMaskBack !== undefined) this.stencilWriteMaskBack = stencilWriteMaskBack; - if (stencilFailOpBack !== undefined) this.stencilFailOpFront = stencilFailOpBack; + if (stencilFailOpBack !== undefined) this.stencilFailOpBack = stencilFailOpBack; if (stencilZFailOpBack !== undefined) this.stencilZFailOpBack = stencilZFailOpBack; if (stencilPassOpBack !== undefined) this.stencilPassOpBack = stencilPassOpBack; if (stencilRefBack !== undefined) this.stencilRefBack = stencilRefBack;