Skip to content

Commit de61a95

Browse files
committed
Reset texture state
1 parent 5ac52f3 commit de61a95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/renderers/webgl/WebGLState.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,9 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
668668

669669
compressedTextureFormats = null;
670670

671+
currentTextureSlot = undefined;
672+
currentBoundTextures = {};
673+
671674
currentBlending = null;
672675

673676
currentColorWrite = null;

0 commit comments

Comments
 (0)