am 6db4ff62: Disable GLES 2.x rendering

* commit '6db4ff621898573b41abf570271a04a13bd36a69':
  Disable GLES 2.x rendering
This commit is contained in:
Andy McFadden 2013-08-15 10:45:04 -07:00 committed by Android Git Automerger
commit a95d60deda

View File

@ -42,7 +42,7 @@ RenderEngine* RenderEngine::create(EGLDisplay display, EGLConfig config) {
EGL_NONE, EGL_NONE
};
EGLContext ctxt = eglCreateContext(display, config, NULL, contextAttributes);
EGLContext ctxt = EGL_NO_CONTEXT; // eglCreateContext(display, config, NULL, contextAttributes);
if (ctxt == EGL_NO_CONTEXT) {
// maybe ES 2.x is not supported
ALOGW("can't create an ES 2.x context, trying 1.x");