summaryrefslogtreecommitdiff
path: root/platform/web
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-20 09:43:59 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-20 09:43:59 +0200
commit7da532275bdddce4bfcb871bd6ded8fe2163b341 (patch)
tree4609e44b51f9ca9b880866c71be9924d4da05f64 /platform/web
parenta04533f96433c8dd03b14a31d1f39f929c6dc366 (diff)
parent4a1c7de57c53af429a3523bdcbef65c8c791f09f (diff)
Merge pull request #65541 from clayjohn/renderer-setting
Split rendering driver project setting into renderer_name and rendering_driver
Diffstat (limited to 'platform/web')
-rw-r--r--platform/web/export/export_plugin.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/platform/web/export/export_plugin.cpp b/platform/web/export/export_plugin.cpp
index 306453c1eb..1c327fe4b2 100644
--- a/platform/web/export/export_plugin.cpp
+++ b/platform/web/export/export_plugin.cpp
@@ -307,13 +307,7 @@ void EditorExportPlatformWeb::get_preset_features(const Ref<EditorExportPreset>
}
if (p_preset->get("vram_texture_compression/for_mobile")) {
- String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name");
- if (driver == "opengl3") {
- r_features->push_back("etc");
- } else if (driver == "vulkan") {
- // FIXME: Review if this is correct.
- r_features->push_back("etc2");
- }
+ r_features->push_back("etc2");
}
r_features->push_back("wasm32");
}