浏览代码

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

Antonio Gomez 7 年之前
父节点
当前提交
dc30f78cfe
共有 1 个文件被更改,包括 2 次插入0 次删除
  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() {
 	function update() {
 
 
+		var video = scope.image;
+
 		if ( video.readyState >= video.HAVE_CURRENT_DATA ) {
 		if ( video.readyState >= video.HAVE_CURRENT_DATA ) {
 
 
 			scope.needsUpdate = true;
 			scope.needsUpdate = true;