From 33b2070d2e6931566e05bc5daab320493aba3a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 13 Aug 2020 09:35:41 +0200 Subject: Remove obsolete GLES2 backend code This code currently isn't compiled (and cannot compile). We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan (probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite different so it's not relevant to keep this old Godot 3.2 code. The `drivers/gles2` code from the `3.2` branch can be used as a reference for a potential new implementation. --- main/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp index 75f204aa7e..e371bef25f 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1079,14 +1079,11 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph ProjectSettings::get_singleton()->set_custom_property_info("rendering/quality/driver/driver_name", PropertyInfo(Variant::STRING, "rendering/quality/driver/driver_name", - PROPERTY_HINT_ENUM, "Vulkan,GLES2")); + PROPERTY_HINT_ENUM, "Vulkan")); if (display_driver == "") { display_driver = GLOBAL_GET("rendering/quality/driver/driver_name"); } - // Assigning here even though it's GLES2-specific, to be sure that it appears in docs - GLOBAL_DEF("rendering/quality/2d/gles2_use_nvidia_rect_flicker_workaround", false); - GLOBAL_DEF("display/window/size/width", 1024); ProjectSettings::get_singleton()->set_custom_property_info("display/window/size/width", PropertyInfo(Variant::INT, "display/window/size/width", -- cgit v1.2.3