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

aquadran noreply at scummvm.org
Thu Jul 30 20:42:14 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:
ca64949a60 WINTERMUTE: Fixed loading Theora video as 3d model material


Commit: ca64949a60391b42aa3e43a8e267d3ce55fe3b99
    https://github.com/scummvm/scummvm/commit/ca64949a60391b42aa3e43a8e267d3ce55fe3b99
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-30T22:42:01+02:00

Commit Message:
WINTERMUTE: Fixed loading Theora video as 3d model material

Changed paths:
    engines/wintermute/base/gfx/xmodel.cpp


diff --git a/engines/wintermute/base/gfx/xmodel.cpp b/engines/wintermute/base/gfx/xmodel.cpp
index 7dfa3ee502f..c2c2570104a 100644
--- a/engines/wintermute/base/gfx/xmodel.cpp
+++ b/engines/wintermute/base/gfx/xmodel.cpp
@@ -837,7 +837,7 @@ bool XModel::setMaterialTheora(const char *materialName, const char *theoraFilen
 	}
 
 	VideoTheoraPlayer *theora = new VideoTheoraPlayer(_game);
-	if (!theora || theora->initialize(theoraFilename)) {
+	if (!theora || DID_FAIL(theora->initialize(theoraFilename))) {
 		SAFE_DELETE(theora);
 		return false;
 	}




More information about the Scummvm-git-logs mailing list