Original Post
I first use glReadPixels to read the pixels into the memory. Then I use glDrawPixels to draw the pixels on the screen. But I find the color of the picture is just white and black. why? glColor3f(1.0,0.0,0.0);//////////red glBegin();//////////////draw the graphics glVertex3f(); ... glEnd(); glReadPixels(); glDrawPixels(); glSwapBuffers();