提交 d0b319a8 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11336 from mrdoob/WestLangley-patch-WebGLState

WebGLState: handle CustomBlending case
......@@ -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.
先完成此消息的编辑!
想要评论请 注册