[Scummvm-git-logs] scummvm master -> 870d14cfadccfe2801b297205b89521a38d5422e

bluegr noreply at scummvm.org
Thu Sep 11 19:58:33 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:
870d14cfad TWP: Thimbleweed Park should not crash if FBO support is missing (Trac#15711)


Commit: 870d14cfadccfe2801b297205b89521a38d5422e
    https://github.com/scummvm/scummvm/commit/870d14cfadccfe2801b297205b89521a38d5422e
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2025-09-11T22:58:29+03:00

Commit Message:
TWP: Thimbleweed Park should not crash if FBO support is missing (Trac#15711)

Changed paths:
    engines/twp/twp.cpp


diff --git a/engines/twp/twp.cpp b/engines/twp/twp.cpp
index 7bf96f145d3..43ac9b1f897 100644
--- a/engines/twp/twp.cpp
+++ b/engines/twp/twp.cpp
@@ -1013,11 +1013,15 @@ Common::Error TwpEngine::run() {
 	AchMan.setActiveDomain(getMetaEngine()->getAchievementsInfo(gameTarget));
 
 	if (!g_system->hasFeature(OSystem::kFeatureShadersForGame)) {
-		return Common::Error(Common::kUnknownError, "Thimbleweed Park requires OpenGL with shaders which is not supported on your system");
+		return Common::Error(Common::kUnknownError, _s("This game requires OpenGL with shaders, which is not supported on your system"));
 	}
 
 	initGraphics3d(SCREEN_WIDTH, SCREEN_HEIGHT);
 
+	if (!OpenGLContext.framebufferObjectSupported) {
+		return Common::Error(Common::kUnknownError, _s("This game requires OpenGL Framebuffer Objects, which are not supported on your system"));
+	}
+
 	// Set the engine's debugger console
 	setDebugger(new Console());
 




More information about the Scummvm-git-logs mailing list