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

aquadran noreply at scummvm.org
Tue Sep 30 06:39:22 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:
bbe4c13179 WINTERMUTE: TinyGL: Cleanup


Commit: bbe4c13179b14800c973e17e52581978b92aa219
    https://github.com/scummvm/scummvm/commit/bbe4c13179b14800c973e17e52581978b92aa219
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-30T08:39:16+02:00

Commit Message:
WINTERMUTE: TinyGL: Cleanup

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 434ce0c2d83..6a616ce3f65 100644
--- a/engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp
+++ b/engines/wintermute/base/gfx/tinygl/base_render_tinygl.cpp
@@ -97,7 +97,7 @@ bool BaseRenderTinyGL::initRenderer(int width, int height, bool windowed) {
 	_simpleShadow[3].u = 1.0f;
 	_simpleShadow[3].v = 0.0f;
 
-	Graphics::PixelFormat pixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0);
+	Graphics::PixelFormat pixelFormat = getPixelFormat();
 	initGraphics(width, height, &pixelFormat);
 	if (g_system->getScreenFormat() != pixelFormat) {
 		warning("Couldn't setup GFX-backend for %dx%dx%d", width, height, pixelFormat.bytesPerPixel * 8);




More information about the Scummvm-git-logs mailing list