diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index 4c3809c..bad8863 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -176,7 +176,7 @@ this.width = this.realWidth / this.resolution; this.height = this.realHeight / this.resolution; - this.isPowerOfTwo = utils.isPowerOfTwo(this.width, this.height); + this.isPowerOfTwo = utils.isPowerOfTwo(this.realWidth, this.realHeight); this.emit('update', this); };