You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make platform feature tag names lowercase
Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
This commit is contained in:
@@ -137,12 +137,12 @@ int OS_JavaScript::get_processor_count() const {
|
||||
}
|
||||
|
||||
bool OS_JavaScript::_check_internal_feature_support(const String &p_feature) {
|
||||
if (p_feature == "HTML5" || p_feature == "web") {
|
||||
if (p_feature == "html5" || p_feature == "web") {
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef JAVASCRIPT_EVAL_ENABLED
|
||||
if (p_feature == "JavaScript") {
|
||||
if (p_feature == "javascript") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user