提交 022ae88e 编写于 作者: Z zregos

Fix for potential missing update of current blending mode variable in setBlending()

上级 088f5369
...@@ -599,7 +599,6 @@ function WebGLState( gl, extensions, paramThreeToGL ) { ...@@ -599,7 +599,6 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
} }
currentBlending = blending;
currentPremultipledAlpha = premultipliedAlpha; currentPremultipledAlpha = premultipliedAlpha;
} }
...@@ -641,6 +640,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) { ...@@ -641,6 +640,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
} }
currentBlending = blending;
} }
function setMaterial( material ) { function setMaterial( material ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册