You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix HTML5 feature tags
'HTML5' is the platform tag, the 'JavaScript' tag indicates availability of the JavaScript.eval singleton. Also report texture compression support.
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
virtual void get_platform_features(List<String> *r_features) {
|
||||
|
||||
r_features->push_back("web");
|
||||
r_features->push_back("JavaScript");
|
||||
r_features->push_back(get_os_name());
|
||||
}
|
||||
|
||||
EditorExportPlatformJavaScript();
|
||||
@@ -130,7 +130,7 @@ String EditorExportPlatformJavaScript::get_name() const {
|
||||
|
||||
String EditorExportPlatformJavaScript::get_os_name() const {
|
||||
|
||||
return "JavaScript";
|
||||
return "HTML5";
|
||||
}
|
||||
|
||||
Ref<Texture> EditorExportPlatformJavaScript::get_logo() const {
|
||||
|
||||
Reference in New Issue
Block a user