Fix broken HUD textures on iOS
This commit is contained in:
parent
0afcdea2a5
commit
9759aeaf76
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue