summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
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"])