提交 5f2c272b 编写于 作者: M Mugen87

Loaders: Ensure consistent ctor of CompressedTextureLoaders.

上级 eb5c3439
......@@ -2,7 +2,9 @@
* @author mrdoob / http://mrdoob.com/
*/
THREE.DDSLoader = function () {
THREE.DDSLoader = function ( manager ) {
THREE.CompressedTextureLoader.call( this, manager );
this._parser = THREE.DDSLoader.parse;
......
......@@ -8,7 +8,9 @@
*/
THREE.KTXLoader = function () {
THREE.KTXLoader = function ( manager ) {
THREE.CompressedTextureLoader.call( this, manager );
this._parser = THREE.KTXLoader.parse;
......
......@@ -10,7 +10,7 @@
THREE.PVRLoader = function ( manager ) {
this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;
THREE.CompressedTextureLoader.call( this, manager );
this._parser = THREE.PVRLoader.parse;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册