[Scummvm-git-logs] scummvm master -> d7500078ff46257e83bede92d9589a232fa556ed
aquadran
aquadran at gmail.com
Mon Oct 19 09:40:34 UTC 2020
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:
d7500078ff STARK: Attempt to fix non shader target
Commit: d7500078ff46257e83bede92d9589a232fa556ed
https://github.com/scummvm/scummvm/commit/d7500078ff46257e83bede92d9589a232fa556ed
Author: PaweÅ KoÅodziejski (aquadran at users.sourceforge.net)
Date: 2020-10-19T11:40:27+02:00
Commit Message:
STARK: Attempt to fix non shader target
Changed paths:
engines/stark/gfx/driver.cpp
diff --git a/engines/stark/gfx/driver.cpp b/engines/stark/gfx/driver.cpp
index 4cce2b8cad..9928460a29 100644
--- a/engines/stark/gfx/driver.cpp
+++ b/engines/stark/gfx/driver.cpp
@@ -43,11 +43,13 @@ Driver *Driver::create() {
bool backendCapableOpenGL = g_system->hasFeature(OSystem::kFeatureOpenGLForGame);
if (backendCapableOpenGL) {
+#if defined(USE_OPENGL_SHADERS) || defined(USE_GLES2)
if (OpenGLContext.shadersSupported) {
driver = new OpenGLSDriver();
} else {
error("Your system does not have the required OpenGL capabilities");
}
+#endif
}
#endif
if (driver)
More information about the Scummvm-git-logs
mailing list