Browse Source

remove onError callback

angus 6 years ago
parent
commit
d5a7bb1702
1 changed files with 1 additions and 3 deletions
  1. 1 3
      examples/webgl_materials_cubemap_mipmaps.html

+ 1 - 3
examples/webgl_materials_cubemap_mipmaps.html

@@ -40,12 +40,10 @@
 
 					return new Promise( function ( resolve, reject) {
 
-						new THREE.CubeTextureLoader().load( urls,function ( cubeTexture ) {
+						new THREE.CubeTextureLoader().load( urls, function ( cubeTexture ) {
 
 							resolve( cubeTexture );
 
-						}, function ( error ) {
-
 						} );