Skip to content

Commit 973380c

Browse files
committed
WebGLState: Simpler fix for NoBlending issue. See mrdoob#9839
1 parent ea22d56 commit 973380c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/renderers/webgl/WebGLState.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -510,16 +510,6 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
510510

511511
disable( gl.BLEND );
512512

513-
currentBlending = blending; // no blending, that is
514-
currentBlendEquation = null;
515-
currentBlendSrc = null;
516-
currentBlendDst = null;
517-
currentBlendEquationAlpha = null;
518-
currentBlendSrcAlpha = null;
519-
currentBlendDstAlpha = null;
520-
521-
return;
522-
523513
}
524514

525515
if ( blending !== currentBlending || premultipliedAlpha !== currentPremultipledAlpha ) {

0 commit comments

Comments
 (0)