Browse Source

ImageLoader: Remove url parameter check in load().

Mugen87 6 years ago
parent
commit
3d48465798
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/loaders/ImageLoader.js

+ 0 - 2
src/loaders/ImageLoader.js

@@ -17,8 +17,6 @@ ImageLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
 
 
 	load: function ( url, onLoad, onProgress, onError ) {
 	load: function ( url, onLoad, onProgress, onError ) {
 
 
-		if ( url === undefined ) url = '';
-
 		if ( this.path !== undefined ) url = this.path + url;
 		if ( this.path !== undefined ) url = this.path + url;
 
 
 		url = this.manager.resolveURL( url );
 		url = this.manager.resolveURL( url );