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

* commit 'e2fca63a18c7bd3fb0c14e1c5dc391cd699cea9f':
  EGL: fix blob cache extension detection
This commit is contained in:
Jamie Gennis 2011-11-18 02:37:39 -08:00 committed by Android Git Automerger
commit 5ed751f882

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 =