diff options
author | Jamie Gennis <jgennis@google.com> | 2011-11-17 17:10:32 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-17 17:10:32 -0800 |
commit | c8fd6e3057a98a992b96c2bce3fa2a981c6e45c0 (patch) | |
tree | 7951feb236f77ac8427b5405791a50d79262ffe7 /opengl | |
parent | 3f51f954948caf1fe5b3f175f7e8523f2ba58f58 (diff) | |
parent | cf30c60f1bd250bb1dd7b6bb946c7975577df31b (diff) | |
download | frameworks_base-c8fd6e3057a98a992b96c2bce3fa2a981c6e45c0.zip frameworks_base-c8fd6e3057a98a992b96c2bce3fa2a981c6e45c0.tar.gz frameworks_base-c8fd6e3057a98a992b96c2bce3fa2a981c6e45c0.tar.bz2 |
Merge "EGL: fix blob cache extension detection" into ics-mr1
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/libs/EGL/egl_cache.cpp | 2 |
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 = |