1
0
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:
Leon Krause
2018-01-12 00:15:21 +01:00
parent 37ca542d2b
commit 5a1156347d
3 changed files with 21 additions and 13 deletions

View File

@@ -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 {