mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Chore] (MG_Impl/EGLImpl): add more logs to EGLWrapper
This commit is contained in:
@@ -75,6 +75,8 @@ namespace MobileGL {
|
||||
EGLBoolean BindAPI(EGLenum api) {
|
||||
// We should accept `EGL_OPENGL_API`,
|
||||
// and bind to `EGL_OPENGL_ES_API` at the backend
|
||||
MGLOG_D("%s: api = %s", __func__, api == EGL_OPENGL_API ? "EGL_OPENGL_API" : "EGL_OPENGL_ES_API");
|
||||
MGLOG_D("%s: calling backend as EGL_OPENGL_ES_API");
|
||||
return MG_External::EGL::eglBindAPI(EGL_OPENGL_ES_API);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user