mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Update GL.java
This commit is contained in:
parent
b70b03deb8
commit
8a940f4cb3
@ -361,7 +361,7 @@ public final class GL {
|
||||
callJPI(GLFW.glfwGetCurrentContext(),getGraphicsBufferAddr(),GL_UNSIGNED_BYTE,dims[0],dims[1],functionProvider.getFunctionAddress("OSMesaMakeCurrent"));
|
||||
} else if (System.getenv("POJAV_RENDERER").startsWith("opengles")) {
|
||||
// This fixed framebuffer issue on 1.13+ 64-bit by another making current
|
||||
GLFW.nativeEglMakeCurrent(GLFW.mainContext);
|
||||
GLFW.glfwMakeCurrentContext(GLFW.mainContext);
|
||||
if (isUsingRegal) {
|
||||
nativeRegalMakeCurrent();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user