mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +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) {
|
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) {
|
EGLSurface GetCurrentSurface(EGLint readdraw) {
|
||||||
|
|||||||
Reference in New Issue
Block a user