I've been trying to write code that can run on multiple GL versions, since I mostly only use very basic features, and one of the versions I am targeting is GL ES 2. Since I know you're supposed to initialize GL_TEXTURE_WRAP_R for cube maps (see this for example), I was surprised that this parameter is not available according to the GL ES 2 reference, even though GL ES 2 has explicit support for cube maps. How is this parameter handled then? Is it automatically set to GL_CLAMP_TO_EDGE internal...