提交 5958c7d7 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #12460 from Mugen87/texture

VideoTexture: Make update() more robust
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册