When doing some model test in our application I noticed that since switching to Ogre 1.9 the non power of two textures were failing to render properly.
There are no errors in the console and the texture is found but it is just displayed as black.
The device capabilities state that the device can handle non power of two textures (iPad4 and iPad Air). On checking how this was determined I found this line in OgreGLES2RenderSystem.cpp
Code: Select all
// ES 2 always supports NPOT textures
rsc->setCapability(RSC_NON_POWER_OF_2_TEXTURES);
For now I've just built Ogre with that line commented out but I dislike having that file edited, is there another setting I've missed?
Hope to hear back
Carl