summaryrefslogtreecommitdiff
path: root/drivers/gl_context/SCsub
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-11-22 20:51:56 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-11-22 20:51:56 -0300
commit9d635f06298f84a59160e8e8cce0187cde6cf74e (patch)
tree6d3890389f49c3345d0ff6541b406ec968cd2667 /drivers/gl_context/SCsub
parent943d27f46ded993105928c4a46414aa16d84115e (diff)
Migrated from GLES to GLAD, fixes many issues.
Diffstat (limited to 'drivers/gl_context/SCsub')
-rw-r--r--drivers/gl_context/SCsub10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/gl_context/SCsub b/drivers/gl_context/SCsub
index dac27c0125..a660aa401a 100644
--- a/drivers/gl_context/SCsub
+++ b/drivers/gl_context/SCsub
@@ -3,9 +3,13 @@ Import('env')
env.add_source_files(env.drivers_sources,"*.cpp")
if (env.get('glew') == 'yes'):
- env.add_source_files(env.drivers_sources,"glew.c")
- env.Append(CPPFLAGS = ['-DGLEW_ENABLED'])
- env.Append(CPPFLAGS = ['-DGLEW_STATIC'])
+# env.add_source_files(env.drivers_sources,"glew.c")
+ env.add_source_files(env.drivers_sources,"glad.c")
+ env.Append(CPPFLAGS = ['-DGLAD_ENABLED'])
+ env.Append(CPPFLAGS = ['-DGLES_OVER_GL'])
+
+# env.Append(CPPFLAGS = ['-DGLEW_ENABLED'])
+# env.Append(CPPFLAGS = ['-DGLEW_STATIC'])
env.Append(CPPPATH = ['.'])
Export('env')