mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 09:07:48 -04:00
[EGLBridge] Stills trying to get GLES multiple contexts to get Forge 1.14+ work
This commit is contained in:
parent
0168ede426
commit
01cdb9fff9
@ -75,6 +75,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_glfw_GLFW_nativeEglMakeCurrent(JNIEnv*
|
||||
};
|
||||
|
||||
if (potatoBridge.eglContext != EGL_NO_CONTEXT) {
|
||||
eglMakeCurrent(potatoBridge.eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
||||
potatoBridge.eglContextOld = potatoBridge.eglContext;
|
||||
potatoBridge.eglContext = eglCreateContext(potatoBridge.eglDisplay, config, potatoBridge.eglContextOld, ctx_attribs);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user