summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--opengl/libs/EGL/eglApi.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp
index 8a0522e..e5e2dc0 100644
--- a/opengl/libs/EGL/eglApi.cpp
+++ b/opengl/libs/EGL/eglApi.cpp
@@ -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;