[Scummvm-git-logs] scummvm master -> 92e56d1bd3e7210bda884d5fd122c531c17a261f

aquadran noreply at scummvm.org
Sun Jul 19 08:00:36 UTC 2026


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:
92e56d1bd3 WINTERMUTE: Fixed compilation without WME 3D


Commit: 92e56d1bd3e7210bda884d5fd122c531c17a261f
    https://github.com/scummvm/scummvm/commit/92e56d1bd3e7210bda884d5fd122c531c17a261f
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-19T10:00:23+02:00

Commit Message:
WINTERMUTE: Fixed compilation without WME 3D

Changed paths:
    engines/wintermute/base/base_game.cpp


diff --git a/engines/wintermute/base/base_game.cpp b/engines/wintermute/base/base_game.cpp
index 255236d7a70..e6f2c61b591 100644
--- a/engines/wintermute/base/base_game.cpp
+++ b/engines/wintermute/base/base_game.cpp
@@ -2882,9 +2882,10 @@ bool BaseGame::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
 
 		int32 gamma = stack->pop()->getInt(0);
 
+#ifdef ENABLE_WME3D
 		if (_renderer3D)
 			_renderer3D->setGamma(gamma);
-
+#endif
 		stack->pushNULL();
 
 		return STATUS_OK;
@@ -2897,9 +2898,10 @@ bool BaseGame::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
 		stack->correctParams(0);
 
 		int32 gamma = 0;
+#ifdef ENABLE_WME3D
 		if (_renderer3D)
 			gamma = _renderer3D->getGamma();
-
+#endif
 		stack->pushInt(gamma);
 
 		return STATUS_OK;




More information about the Scummvm-git-logs mailing list