am c8fd6e30: Merge "EGL: fix blob cache extension detection" into ics-mr1

* commit 'c8fd6e3057a98a992b96c2bce3fa2a981c6e45c0':
  EGL: fix blob cache extension detection
This commit is contained in:
Jamie Gennis 2011-11-17 17:11:57 -08:00 committed by Android Git Automerger
commit 5ef898dd37

View File

@ -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 =