I use glReadPixels to capture my colorbuffer on symbian s60 3rd, but only get the first pixel of my framebuffer, and the pixel copy to all other array ,such as code below:
unsigned char * imageData;
imageData = new unsigned char[3 * width * height];
glReadPixels(0,0, width, height,GL_RGB,GL_UNSIGNED_BYTE, (unsigned char*)imageData);
all the data in imageData are the same as the first pixel of framebuffer, I don't why ??
and my egl setting as below:
EGLConfig<FONT face="Courier