Skip to content

Commit ffda0b9

Browse files
committed
Merge branch 'reset-texture-state' of https://github.com/jkieboom/three.js into dev
2 parents ae2cf9c + de61a95 commit ffda0b9

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
@@ -707,6 +707,9 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
707707

708708
compressedTextureFormats = null;
709709

710+
currentTextureSlot = undefined;
711+
currentBoundTextures = {};
712+
710713
currentBlending = null;
711714

712715
currentColorWrite = null;

0 commit comments

Comments
 (0)