Merge "fix logging of eglMakeCurrent() errors"
This commit is contained in:
commit
b2c13e3e86
@ -675,6 +675,9 @@ EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw,
|
||||
setGLHooksThreadSpecific(&gHooksNoContext);
|
||||
egl_tls_t::setContext(EGL_NO_CONTEXT);
|
||||
}
|
||||
} else {
|
||||
// this will LOGE the error
|
||||
result = setError(c->cnx->egl.eglGetError(), EGL_FALSE);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user