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/state_trackers/egl/Android.mk | |
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/state_trackers/egl/Android.mk')
-rw-r--r-- | src/gallium/state_trackers/egl/Android.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/Android.mk b/src/gallium/state_trackers/egl/Android.mk index b27e14b1f06..7c4c93669c1 100644 --- a/src/gallium/state_trackers/egl/Android.mk +++ b/src/gallium/state_trackers/egl/Android.mk @@ -32,7 +32,10 @@ LOCAL_SRC_FILES := \ $(common_FILES) \ $(android_FILES) -LOCAL_CFLAGS := -DHAVE_ANDROID_BACKEND +LOCAL_CFLAGS := \ + -DFEATURE_ES1=1 \ + -DFEATURE_ES2=1 \ + -DHAVE_ANDROID_BACKEND LOCAL_C_INCLUDES := \ $(GALLIUM_TOP)/state_trackers/egl \ |