OSDN Git Service

fix [3028370] GL get error should return a valid error if no context is bound.
authorMathias Agopian <mathias@google.com>
Thu, 23 Sep 2010 18:32:52 +0000 (11:32 -0700)
committerMathias Agopian <mathias@google.com>
Thu, 23 Sep 2010 20:19:02 +0000 (13:19 -0700)
commit05c53113e0c73c7cab61edf53524c61c20a547c2
treea24217e789461e58d4c2397aa09efd5f4378cab5
parent53c155baf8da4e3a07c1b9898311752438ab2ec0
fix [3028370] GL get error should return a valid error if no context is bound.

glGetError() will now always return GL_INVALID_OPERATION if called from a thread
with no GL context bound.

Change-Id: I28ba458871db051bb4f5a26668a1fa123526869c
opengl/libs/EGL/egl.cpp