Migrated from GLES to GLAD, fixes many issues.
This commit is contained in:
parent
943d27f46d
commit
9d635f0629
17 changed files with 13824 additions and 2236 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue