diff options
Diffstat (limited to 'drivers/gl_context/SCsub')
-rw-r--r-- | drivers/gl_context/SCsub | 10 |
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') |