diff options
author | Emil Velikov <[email protected]> | 2014-05-10 03:41:44 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-05-25 23:21:46 +0100 |
commit | b52a530ce2aada1967bc8fefa83ab53e6a737dae (patch) | |
tree | b80e97672d2409299621c319295bb4b8b6757038 /src/gallium/targets/egl-static/SConscript | |
parent | a9afdcc3a144f5fa4998891b2f63061e38db293a (diff) |
gallium/egl: st_profiles are build time decision, treat them as such
The profiles are present depending on the defines at build time.
Drop the extra functions and feed the defines directly into the
state-tracker at build time.
v2: Drop unused variable i.
Acked-by: Chia-I Wu <[email protected]> (v1)
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/egl-static/SConscript')
-rw-r--r-- | src/gallium/targets/egl-static/SConscript | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/targets/egl-static/SConscript b/src/gallium/targets/egl-static/SConscript index 83937fe61ad..f879cc36de4 100644 --- a/src/gallium/targets/egl-static/SConscript +++ b/src/gallium/targets/egl-static/SConscript @@ -63,11 +63,6 @@ if env['platform'] == 'windows': # OpenGL ES and OpenGL if env['gles']: - env.Append(CPPDEFINES = [ - 'FEATURE_GL=1', - 'FEATURE_ES1=1', - 'FEATURE_ES2=1' - ]) env.Prepend(LIBPATH = [shared_glapi.dir]) # manually add LIBPREFIX on windows glapi_name = 'glapi' if env['platform'] != 'windows' else 'libglapi' @@ -75,7 +70,6 @@ if env['gles']: # OpenVG if True: - env.Append(CPPDEFINES = ['FEATURE_VG=1']) env.Prepend(LIBPATH = [openvg.dir]) # manually add LIBPREFIX on windows openvg_name = 'OpenVG' if env['platform'] != 'windows' else 'libOpenVG' |