diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index b197e9c..3066a3a 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -517,7 +517,7 @@ */ get width() { - return this.orig ? this.orig.width : 0; + return this.orig.width; } /** @@ -527,7 +527,7 @@ */ get height() { - return this.orig ? this.orig.height : 0; + return this.orig.height; } }