From fadbfebcfa00b176ae5c40c39223d13c78f22095 Mon Sep 17 00:00:00 2001 From: Maksim Date: Mon, 13 Apr 2020 19:42:38 +0200 Subject: [PATCH] Mobile: disable Npot for non-Npot tiles only in height --- src/client/tile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index b6b8f4dc..99db7f01 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -41,7 +41,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifdef __ANDROID__ #include #elif defined(__IOS__) -#include +#include #endif /* @@ -1024,7 +1024,7 @@ video::IImage * Align2Npot2(video::IImage * image, unsigned int height = npot2(dim.Height); unsigned int width = npot2(dim.Width); - if (dim.Height == height && dim.Width == width) + if (/*dim.Height == height &&*/ dim.Width == width) return image; #ifdef __IOS__