Fix for gles3 glTexImage2D format

Gles3 does not have support for GL_SRGB_ALPHA_EXT(0x8C42).
When the internal format is GL_SRGB8_ALPHA8(0x8C43) valid format
to use is GL_RGBA for gles3 as defined in
https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml

After this change,the test passes on gles3
Test: cts-tradefed run cts -m CtsVrTestCases --test
 android.vr.cts.VrExtensionBehaviorTest#testSrgbBuffer

Bug: 122272984
Change-Id: I625dbbfa015aebf2f698ca45c7c76a24404d6118
1 file changed