Fix broken HUD textures on iOS

This commit is contained in:
sfan5 2018-01-04 15:37:45 +01:00 committed by Maksim Gamarnik
parent 0afcdea2a5
commit 9759aeaf76
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ video::ITexture *guiScalingResizeCached(video::IVideoDriver *driver,
(u32)destrect.getHeight()));
imageScaleNNAA(srcimg, srcrect, destimg);
#ifdef __ANDROID__
#if defined(__ANDROID__) || defined(__IOS__)
// Android is very picky about textures being powers of 2, so expand
// the image dimensions to the next power of 2, if necessary, for
// that platform.