diff --git a/engine/src/android/com/jme3/renderer/android/TextureUtil.java b/engine/src/android/com/jme3/renderer/android/TextureUtil.java index b94ab35b6..07d9d2cc3 100644 --- a/engine/src/android/com/jme3/renderer/android/TextureUtil.java +++ b/engine/src/android/com/jme3/renderer/android/TextureUtil.java @@ -253,7 +253,7 @@ public class TextureUtil { if (!NPOT) { // Check if texture is POT - if (!FastMath.isPowerOfTwo(width) || width != height) { + if (!FastMath.isPowerOfTwo(width) || !FastMath.isPowerOfTwo(height)) { throw new RendererException("Non-power-of-2 textures " + "are not supported by the video hardware " + "and no scaling path available for image: " + img);