[Scummvm-git-logs] scummvm master -> a8cb2b40ba321aedbdbc42905391d667e7dec845

aquadran noreply at scummvm.org
Tue Sep 30 04:29:43 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
a8cb2b40ba WINTERMUTE: TinyGL: Do not flip vertically while doing screenshot


Commit: a8cb2b40ba321aedbdbc42905391d667e7dec845
    https://github.com/scummvm/scummvm/commit/a8cb2b40ba321aedbdbc42905391d667e7dec845
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-30T06:29:37+02:00

Commit Message:
WINTERMUTE: TinyGL: Do not flip vertically while doing screenshot

Changed paths:
    engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp


diff --git a/engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp b/engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp
index a9f4719a36d..434ce0c2d83 100644
--- a/engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp
+++ b/engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp
@@ -668,7 +668,7 @@ bool BaseRenderTinyGL::fadeToColor(byte r, byte g, byte b, byte a) {
 BaseImage *BaseRenderTinyGL::takeScreenshot(int newWidth, int newHeight) {
 	BaseImage *screenshot = new BaseImage();
 	Graphics::Surface *surface = TinyGL::copyFromFrameBuffer(Graphics::PixelFormat::createFormatRGBA32());
-	screenshot->copyFrom(surface, newWidth, newHeight, Graphics::FLIP_V);
+	screenshot->copyFrom(surface, newWidth, newHeight);
 	delete surface;
 	return screenshot;
 }




More information about the Scummvm-git-logs mailing list