RGBA filling in texture is not working using gles
I am writing a code using gles. I created a texture and tried to fill that using different colours, But when i swapped the buffer only one color is visible at whole screen.
I am turning off the filtering using glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_NEAREST) and glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_NEAREST).
My texture width and height is 1920*1024.
and i want to draw the complete texture as it is on my Device screen.
Any help would be appreciated.
Here texture width is non power of 2.
Please check the avaialability of gl_arb_texture_non_power_of_two extension in your device.