From 9d635f06298f84a59160e8e8cce0187cde6cf74e Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 22 Nov 2016 20:51:56 -0300 Subject: Migrated from GLES to GLAD, fixes many issues. --- drivers/gl_context/SCsub | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'drivers/gl_context/SCsub') 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') -- cgit v1.2.3