summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-06 22:56:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-06 22:56:51 +0100
commit2a38a5eaa844043b846e03d6655f84caf8a31e74 (patch)
tree324d3ac8fdf3ee3eff25f614d4b51a65a91cea1a /platform
parent12d1fc7a184f0ddaa97a88614905a04d6cf81f25 (diff)
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.h2
-rw-r--r--platform/x11/detect.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/platform/haiku/platform_config.h b/platform/haiku/platform_config.h
index 527dc9de06..a3aa918ba8 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 19884feaa8..0169abf7fd 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"])