Explorar o código

ImageLoader: Remove url parameter check in load().

Mugen87 %!s(int64=6) %!d(string=hai) anos
pai
achega
3d48465798
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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 ) {
 
-		if ( url === undefined ) url = '';
-
 		if ( this.path !== undefined ) url = this.path + url;
 
 		url = this.manager.resolveURL( url );