diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index e9f1091..bba8965 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -211,6 +211,7 @@ } else if (!source.getContext) { + // Image fail / not ready this.isLoading = true; @@ -249,7 +250,8 @@ // Per http://www.w3.org/TR/html5/embedded-content-0.html#the-img-element // "The value of `complete` can thus change while a script is executing." // So complete needs to be re-checked after the callbacks have been added.. - if (source.complete) + // NOTE: complete will be true if the image has no src so best to check if the src is set. + if (source.complete && source.src) { this.isLoading = false;