I draw a screen with OpenGL commands. And I must save this screen to .bmp or .png format. But I can\'t do it. I am using glReadpixels but I can\'t do continue. How can I sav
One thing need to be fixed at:
bmih.biXPelsPerMeter = bmih.biYPelsPerMeter = 0;
Otherwise, some picture edit can not open correctly.