[Scummvm-git-logs] scummvm branch-2-7 -> 217fe3103813e046ae17d88829c5ce4ce641bb56

neuromancer noreply at scummvm.org
Mon Mar 20 11:55:54 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
217fe31038 FREESCAPE: default to TinyGL if OpenGL is not available


Commit: 217fe3103813e046ae17d88829c5ce4ce641bb56
    https://github.com/scummvm/scummvm/commit/217fe3103813e046ae17d88829c5ce4ce641bb56
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-03-20T12:56:13+01:00

Commit Message:
FREESCAPE: default to TinyGL if OpenGL is not available

Changed paths:
    engines/freescape/gfx.cpp


diff --git a/engines/freescape/gfx.cpp b/engines/freescape/gfx.cpp
index 8d5e2721cfd..ce79099c1b5 100644
--- a/engines/freescape/gfx.cpp
+++ b/engines/freescape/gfx.cpp
@@ -949,8 +949,7 @@ Graphics::RendererType determinateRenderType() {
 	#endif
 
 	#if defined(USE_TINYGL)
-	if (desiredRendererType == Graphics::kRendererTypeTinyGL)
-		return desiredRendererType;
+		return Graphics::kRendererTypeTinyGL;
 	#endif
 
 	return Graphics::kRendererTypeDefault;




More information about the Scummvm-git-logs mailing list