GL: Set max mip level to save memory.
GLES2: #ifdef use of GL_TEXTURE_MAX_LEVEL.