summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-11-18 02:37:39 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-11-18 02:37:39 -0800
commit99f0528b5eed9de4b9c59e806df32a58954c65a9 (patch)
treec9d392d59a03d87d4b9f30d77df734ff6e9bde98 /opengl
parent7476ea58f79ede45dddc4b6f05b14e175e0df939 (diff)
parente2fca63a18c7bd3fb0c14e1c5dc391cd699cea9f (diff)
downloadframeworks_base-99f0528b5eed9de4b9c59e806df32a58954c65a9.zip
frameworks_base-99f0528b5eed9de4b9c59e806df32a58954c65a9.tar.gz
frameworks_base-99f0528b5eed9de4b9c59e806df32a58954c65a9.tar.bz2
am e2fca63a: am c8fd6e30: Merge "EGL: fix blob cache extension detection" into ics-mr1
* commit 'e2fca63a18c7bd3fb0c14e1c5dc391cd699cea9f': EGL: fix blob cache extension detection
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/egl_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_cache.cpp b/opengl/libs/EGL/egl_cache.cpp
index 13a4929..fe32d43 100644
--- a/opengl/libs/EGL/egl_cache.cpp
+++ b/opengl/libs/EGL/egl_cache.cpp
@@ -85,7 +85,7 @@ void egl_cache_t::initialize(egl_display_t *display) {
bool atStart = !strncmp(BC_EXT_STR " ", exts, bcExtLen+1);
bool atEnd = (bcExtLen+1) < extsLen &&
!strcmp(" " BC_EXT_STR, exts + extsLen - (bcExtLen+1));
- bool inMiddle = strstr(" " BC_EXT_STR " ", exts);
+ bool inMiddle = strstr(exts, " " BC_EXT_STR " ");
if (equal || atStart || atEnd || inMiddle) {
PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID;
eglSetBlobCacheFuncsANDROID =