提交 bc13d83f 编写于 作者: T Tristan VALCKE

Protect WebGLRenderTarget against the closure circular reference bug

上级 5e7c2ef1
......@@ -39,7 +39,7 @@ function WebGLRenderTarget( width, height, options ) {
}
WebGLRenderTarget.prototype = {
Object.assign( WebGLRenderTarget.prototype, EventDispatcher.prototype, {
constructor: WebGLRenderTarget,
......@@ -90,8 +90,7 @@ WebGLRenderTarget.prototype = {
}
};
} );
Object.assign( WebGLRenderTarget.prototype, EventDispatcher.prototype );
export { WebGLRenderTarget };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册