diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-31 18:30:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 18:30:38 +0100 |
commit | 16dc607f8ad2055c8dec543bcd427fe74e5d6059 (patch) | |
tree | c99e99c1fd63fdb3d60b0c6d6ec632647e65619a /platform/javascript/export/export_plugin.cpp | |
parent | d6f972fad45d28222b1437a047241dd74f0d5b90 (diff) | |
parent | 8a10bb7d0dd0cc03353bb751af25a0eca1357c9d (diff) |
Merge pull request #54307 from Calinou/add-opengl-renderer-squash
Add OpenGL renderer (squashed)
Diffstat (limited to 'platform/javascript/export/export_plugin.cpp')
-rw-r--r-- | platform/javascript/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.cpp b/platform/javascript/export/export_plugin.cpp index 1084a0adf7..b4f93b9b44 100644 --- a/platform/javascript/export/export_plugin.cpp +++ b/platform/javascript/export/export_plugin.cpp @@ -300,7 +300,7 @@ void EditorExportPlatformJavaScript::get_preset_features(const Ref<EditorExportP if (p_preset->get("vram_texture_compression/for_mobile")) { String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name"); - if (driver == "GLES2") { + if (driver == "OpenGL3") { r_features->push_back("etc"); } else if (driver == "Vulkan") { // FIXME: Review if this is correct. |