[Scummvm-git-logs] scummvm master -> c2d63ba044bdbd1b8f39e6b900c01c4b2c9dab64
SupSuper
noreply at scummvm.org
Tue Feb 20 10:05:34 UTC 2024
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:
c2d63ba044 CREATE_PROJECT: Fix opengl_game_shaders feature flag
Commit: c2d63ba044bdbd1b8f39e6b900c01c4b2c9dab64
https://github.com/scummvm/scummvm/commit/c2d63ba044bdbd1b8f39e6b900c01c4b2c9dab64
Author: SupSuper (supsuper at gmail.com)
Date: 2024-02-20T10:03:46Z
Commit Message:
CREATE_PROJECT: Fix opengl_game_shaders feature flag
Changed paths:
devtools/create_project/create_project.cpp
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp
index 193f3e3d78e..48c180b1252 100644
--- a/devtools/create_project/create_project.cpp
+++ b/devtools/create_project/create_project.cpp
@@ -348,7 +348,7 @@ int main(int argc, char *argv[]) {
// HACK: These features depend on OpenGL
if (!getFeatureBuildState("opengl", setup.features)) {
setFeatureBuildState("opengl_game_classic", setup.features, false);
- setFeatureBuildState("opengl_shaders", setup.features, false);
+ setFeatureBuildState("opengl_game_shaders", setup.features, false);
}
// Disable engines for which we are missing dependencies
@@ -357,7 +357,8 @@ int main(int argc, char *argv[]) {
for (StringList::const_iterator ef = i->requiredFeatures.begin(); ef != i->requiredFeatures.end(); ++ef) {
FeatureList::iterator feature = std::find(setup.features.begin(), setup.features.end(), *ef);
if (feature == setup.features.end()) {
- std::cerr << "WARNING: Missing feature " << *ef << " from engine " << i->name << '\n';
+ std::cerr << "ERROR: Missing feature " << *ef << " from engine " << i->name << '\n';
+ return -1;
} else if (!feature->enable) {
setEngineBuildState(i->name, setup.engines, false);
break;
@@ -1113,10 +1114,10 @@ const Feature s_features[] = {
{ "tinygl", "USE_TINYGL", false, true, "TinyGL support" },
{ "opengl", "USE_OPENGL", false, true, "OpenGL support" },
{"opengl_game_classic", "USE_OPENGL_GAME", false, true, "OpenGL support (classic) in 3d games" },
- { "opengl_shaders", "USE_OPENGL_SHADERS", false, true, "OpenGL support (shaders) in 3d games" },
+ {"opengl_game_shaders", "USE_OPENGL_SHADERS", false, true, "OpenGL support (shaders) in 3d games" },
{ "taskbar", "USE_TASKBAR", false, true, "Taskbar integration support" },
{ "cloud", "USE_CLOUD", false, true, "Cloud integration support" },
- { "enet", "USE_ENET", false, true, "ENet networking support" },
+ { "enet", "USE_ENET", false, true, "ENet networking support" },
{ "translation", "USE_TRANSLATION", false, true, "Translation support" },
{ "vkeybd", "ENABLE_VKEYBD", false, false, "Virtual keyboard support"},
{ "eventrecorder", "ENABLE_EVENTRECORDER", false, false, "Event recorder support"},
More information about the Scummvm-git-logs
mailing list