[Scummvm-git-logs] scummvm master -> dad91c4a70c2f2f4bee02f1faabf809320d2e4d9
aquadran
aquadran at gmail.com
Sat Oct 2 09:34:30 UTC 2021
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:
dad91c4a70 GRIM: Default OpenGL renderer only when is available
Commit: dad91c4a70c2f2f4bee02f1faabf809320d2e4d9
https://github.com/scummvm/scummvm/commit/dad91c4a70c2f2f4bee02f1faabf809320d2e4d9
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-10-02T11:34:26+02:00
Commit Message:
GRIM: Default OpenGL renderer only when is available
Changed paths:
engines/grim/grim.cpp
diff --git a/engines/grim/grim.cpp b/engines/grim/grim.cpp
index ab21213e92..d34f956a2e 100644
--- a/engines/grim/grim.cpp
+++ b/engines/grim/grim.cpp
@@ -281,7 +281,6 @@ GfxBase *GrimEngine::createRenderer(int screenW, int screenH) {
if (backendCapableOpenGL && matchingRendererType == Graphics::kRendererTypeOpenGLShaders && !OpenGLContext.shadersSupported) {
matchingRendererType = Graphics::kRendererTypeOpenGL;
}
-#endif
// For Grim Fandango, OpenGL renderer without shaders is preferred
if (desiredRendererType == Graphics::kRendererTypeDefault &&
@@ -289,6 +288,7 @@ GfxBase *GrimEngine::createRenderer(int screenW, int screenH) {
getGameType() == GType_GRIM) {
matchingRendererType = Graphics::kRendererTypeOpenGL;
}
+#endif
if (matchingRendererType != desiredRendererType && desiredRendererType != Graphics::kRendererTypeDefault) {
// Display a warning if unable to use the desired renderer
More information about the Scummvm-git-logs
mailing list