https://www.khronos.org/opengles/sdk/docs/man3/html/glTexImage2D.xhtml
Documentation of glTexImage2D has repeated description for GL_RG, which should have been GL_RG_INTEGER? for the second description?
GL_RG
Each element is a red/green double. For fixed point normalized components, the GL converts each component to floating point, clamps to the range [0,1], and assembles them into an RGBA element by attaching 0.0 for blue, and 1.0 for alpha.
GL_RG
Each element is a red/green double. The GL assembles them into an RGBA element by attaching 0 for blue, and 1 for alpha.
Correct me if there is anything I misunderstood.
Thanks,
Sunil Naik