فهرست منبع

Merge branch 'reset-texture-state' of https://github.com/jkieboom/three.js into dev

Mr.doob 9 سال پیش
والد
کامیت
ffda0b91c2
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/renderers/webgl/WebGLState.js

+ 3 - 0
src/renderers/webgl/WebGLState.js

@@ -707,6 +707,9 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
 
 		compressedTextureFormats = null;
 
+		currentTextureSlot = undefined;
+		currentBoundTextures = {};
+
 		currentBlending = null;
 
 		currentColorWrite = null;