提交 999ffcf5 编写于 作者: W WestLangley 提交者: GitHub

WebGLState: handle CustomBlending case

Fixes #11280
上级 f38068b6
......@@ -523,7 +523,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
}
if ( blending !== currentBlending || premultipliedAlpha !== currentPremultipledAlpha ) {
if ( ( blending !== CustomBlending ) && ( blending !== currentBlending || premultipliedAlpha !== currentPremultipledAlpha ) ) {
if ( blending === AdditiveBlending ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册