parent
c94112b6b3
commit
62153e972f
|
@ -432,6 +432,7 @@ void screenDoDumpToDiskIfRequired(void)
|
|||
return;
|
||||
}
|
||||
}
|
||||
glPixelStorei(GL_PACK_ALIGNMENT, 1);
|
||||
glReadPixels(0, 0, image.width, image.height, GL_RGB, GL_UNSIGNED_BYTE, image.bmp);
|
||||
|
||||
iV_saveImage_PNG(fileName, &image);
|
||||
|
|
Loading…
Reference in New Issue