mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-06 20:55:23 +02:00
Free flipbuffer
This commit is contained in:
@@ -241,6 +241,7 @@ bool TakeGameScreenshot(const char *filename, ScreenshotFormat fmt, ScreenshotTy
|
||||
// TODO: Handle other formats (e.g. Direct3D, raw framebuffers.)
|
||||
QImage image(buffer, buf.GetStride(), buf.GetHeight(), QImage::Format_RGB888);
|
||||
success = image.save(filename, fmt == SCREENSHOT_PNG ? "PNG" : "JPG");
|
||||
delete [] flipbuffer;
|
||||
}
|
||||
#else
|
||||
if (success) {
|
||||
|
||||
Reference in New Issue
Block a user