提交 73a4ca56 编写于 作者: T Takahiro

ImageLoader crossOrigin support

上级 8552700b
......@@ -35,6 +35,11 @@ Object.assign( ImageLoader.prototype, {
image.src = url;
} else if ( this.crossOrigin !== undefined ) {
image.crossOrigin = this.crossOrigin;
image.src = url;
} else {
var loader = new FileLoader();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册