Merge "Don't swallow eglCreateContext errors" into klp-dev

This commit is contained in:
Jesse Hall 2013-08-13 18:33:07 +00:00 committed by Android (Google) Code Review
commit 6f23562e0c

View File

@ -552,12 +552,6 @@ EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config,
GLTrace_eglCreateContext(version, c);
#endif
return c;
} else {
EGLint error = eglGetError();
ALOGE_IF(error == EGL_SUCCESS,
"eglCreateContext(%p, %p, %p, %p) returned EGL_NO_CONTEXT "
"but no EGL error!",
dpy, config, share_list, attrib_list);
}
}
return EGL_NO_CONTEXT;