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