Explorar el Código

Merge remote-tracking branch 'upstream/dev' into dev

Antonio Gomez hace 7 años
padre
commit
dc30f78cfe
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/textures/VideoTexture.js

+ 2 - 0
src/textures/VideoTexture.js

@@ -14,6 +14,8 @@ function VideoTexture( video, mapping, wrapS, wrapT, magFilter, minFilter, forma
 
 	function update() {
 
+		var video = scope.image;
+
 		if ( video.readyState >= video.HAVE_CURRENT_DATA ) {
 
 			scope.needsUpdate = true;