mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix] (EGLImpl/EGLWrapper): hardcode binding to EGL_OPENGL_ES_API for now
This commit is contained in:
@@ -73,7 +73,9 @@ namespace MobileGL {
|
||||
}
|
||||
|
||||
EGLBoolean BindAPI(EGLenum api) {
|
||||
return MG_External::EGL::eglBindAPI(api);
|
||||
// We should accept `EGL_OPENGL_API`,
|
||||
// and bind to `EGL_OPENGL_ES_API` at the backend
|
||||
return MG_External::EGL::eglBindAPI(EGL_OPENGL_ES_API);
|
||||
}
|
||||
|
||||
EGLSurface GetCurrentSurface(EGLint readdraw) {
|
||||
|
||||
Reference in New Issue
Block a user