Add support for non npot2 textures on devices not supporting them