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

aquadran noreply at scummvm.org
Sun Sep 28 18:58:26 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:
e1c7c4cbd7 WINTERMUTE: Commented out for now


Commit: e1c7c4cbd70f16b6011de1b71a96b58a4040b77f
    https://github.com/scummvm/scummvm/commit/e1c7c4cbd70f16b6011de1b71a96b58a4040b77f
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-28T20:58:22+02:00

Commit Message:
WINTERMUTE: Commented out for now

Changed paths:
    engines/wintermute/base/gfx/osystem/base_render_osystem.cpp


diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
index 830557e9a6b..84215d392d5 100644
--- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -450,6 +450,13 @@ void BaseRenderOSystem::drawFromSurface(RenderTicket *ticket, Common::Rect *dstR
 
 //////////////////////////////////////////////////////////////////////////
 bool BaseRenderOSystem::drawLine(int x1, int y1, int x2, int y2, uint32 color) {
+#if 0
+	byte r = RGBCOLGetR(color);
+	byte g = RGBCOLGetG(color);
+	byte b = RGBCOLGetB(color);
+	byte a = RGBCOLGetA(color);
+#endif
+
 	Common::Point32 point1, point2;
 	point1.x = x1;
 	point1.y = y1;
@@ -461,10 +468,6 @@ bool BaseRenderOSystem::drawLine(int x1, int y1, int x2, int y2, uint32 color) {
 
 	// TODO
 #if 0
-	byte r = RGBCOLGetR(color);
-	byte g = RGBCOLGetG(color);
-	byte b = RGBCOLGetB(color);
-	byte a = RGBCOLGetA(color);
 	uint32 colorVal = _renderSurface->format.ARGBToColor(a, r, g, b);
 	_renderSurface->drawLine(point1.x, point1.y, point2.x + 1, point2.y + 1, colorVal);
 #endif




More information about the Scummvm-git-logs mailing list