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.