diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index 41f5313..a94d7a4 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -116,10 +116,8 @@ this._rotate = +(rotate || 0); if (rotate === true) { - // this is old texturepacker legacy, some games/libraries are passing "true" or 1 for rotated textures + // this is old texturepacker legacy, some games/libraries are passing "true" for rotated textures this._rotate = 2; - } else if (this.rotate % 2 !== 0) { - throw 'Texture rotation must be divisible by 2'; } if (baseTexture.hasLoaded)