diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index a94d7a4..cd5db51 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -118,6 +118,10 @@ if (rotate === true) { // this is old texturepacker legacy, some games/libraries are passing "true" for rotated textures this._rotate = 2; + } else { + if (this._rotate % 2 != 0) { + throw "attempt to use diamond-shaped UVs. If you are sure, set rotation manually"; + } } if (baseTexture.hasLoaded)