You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-01 18:51:18 +00:00
Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3
- Use lowercase driver names for the `--rendering-driver` command line argument.
This commit is contained in:
@@ -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 == "OpenGL") {
|
||||
r_features->push_back("etc");
|
||||
} else if (driver == "Vulkan") {
|
||||
// FIXME: Review if this is correct.
|
||||
|
||||
Reference in New Issue
Block a user