From 386968ea97d4ceeb004cc05a7aa740aa7abe6ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 13 Feb 2020 10:08:52 +0100 Subject: Remove obsolete GLES3 backend Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs! --- core/bind/core_bind.cpp | 2 +- core/bind/core_bind.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'core/bind') diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index 1dc48a95a0..5b25300dbd 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1410,7 +1410,7 @@ void _OS::_bind_methods() { ADD_PROPERTY_DEFAULT("window_size", Vector2()); BIND_ENUM_CONSTANT(VIDEO_DRIVER_GLES2); - BIND_ENUM_CONSTANT(VIDEO_DRIVER_GLES3); + BIND_ENUM_CONSTANT(VIDEO_DRIVER_VULKAN); BIND_ENUM_CONSTANT(DAY_SUNDAY); BIND_ENUM_CONSTANT(DAY_MONDAY); diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 015bcd965e..22cb4a3828 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -104,7 +104,6 @@ protected: public: enum VideoDriver { - VIDEO_DRIVER_GLES3, VIDEO_DRIVER_GLES2, VIDEO_DRIVER_VULKAN, }; -- cgit v1.2.3