summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-13 10:08:52 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-13 10:36:44 +0100
commit386968ea97d4ceeb004cc05a7aa740aa7abe6ca9 (patch)
tree4ad2333ba23b1cbe7db9e213e9d7702606ea42a6 /platform/osx
parentd661ca53575142582254f56afd5f92563db6dd9f (diff)
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!
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/os_osx.h2
-rw-r--r--platform/osx/platform_config.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/platform/osx/os_osx.h b/platform/osx/os_osx.h
index 00fc56def6..bfd13be43a 100644
--- a/platform/osx/os_osx.h
+++ b/platform/osx/os_osx.h
@@ -78,8 +78,6 @@ public:
int key_event_pos;
bool force_quit;
- // rasterizer seems to no longer be given to visual server, its using GLES3 directly?
- //Rasterizer *rasterizer;
VisualServer *visual_server;
List<String> args;
diff --git a/platform/osx/platform_config.h b/platform/osx/platform_config.h
index 046512ae84..155f37ed55 100644
--- a/platform/osx/platform_config.h
+++ b/platform/osx/platform_config.h
@@ -30,6 +30,5 @@
#include <alloca.h>
-#define GLES3_INCLUDE_H "thirdparty/glad/glad/glad.h"
#define GLES2_INCLUDE_H "thirdparty/glad/glad/glad.h"
#define PTHREAD_RENAME_SELF