diff options
| author | Rémi Verschelde | 2017-01-06 22:56:51 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-01-06 22:56:51 +0100 |
| commit | 2a38a5eaa844043b846e03d6655f84caf8a31e74 (patch) | |
| tree | 324d3ac8fdf3ee3eff25f614d4b51a65a91cea1a /platform | |
| parent | 12d1fc7a184f0ddaa97a88614905a04d6cf81f25 (diff) | |
| download | godot-2a38a5eaa844043b846e03d6655f84caf8a31e74.tar.gz godot-2a38a5eaa844043b846e03d6655f84caf8a31e74.tar.zst godot-2a38a5eaa844043b846e03d6655f84caf8a31e74.zip | |
Remove bundled glew, obsoleted by glad
Also make Haiku load the glad header for GLES3 too,
though I haven't test it.
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/haiku/platform_config.h | 2 | ||||
| -rw-r--r-- | platform/x11/detect.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/platform/haiku/platform_config.h b/platform/haiku/platform_config.h index 527dc9de0..a3aa918ba 100644 --- a/platform/haiku/platform_config.h +++ b/platform/haiku/platform_config.h @@ -31,4 +31,4 @@ // for ifaddrs.h needed in drivers/unix/ip_unix.cpp #define _BSD_SOURCE 1 -#define GLES2_INCLUDE_H <GL/glew.h> +#define GLES3_INCLUDE_H "glad/glad.h" diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 19884feaa..0169abf7f 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -175,9 +175,6 @@ def configure(env): env.Append(CPPFLAGS=['-DOPENGL_ENABLED']) - if (env['builtin_glew'] == 'no'): - env.ParseConfig('pkg-config glew --cflags --libs') - if os.system("pkg-config --exists alsa") == 0: print("Enabling ALSA") env.Append(CPPFLAGS=["-DALSA_ENABLED"]) |
