Regal stuff (test)
This commit is contained in:
1 parent
72203eb83b
commit
949e562c0e
2 files changed
+1
-12
No files matched your search
@@ -90,8 +90,6 @@ public final class GL {
|
||||
create();
|
||||
}
|
||||
}
|
||||
|
||||
private static native void nativeRegalMakeCurrent();
|
||||
|
||||
private GL() {}
|
||||
|
||||
@@ -372,8 +370,7 @@ public final class GL {
|
||||
// This fixed framebuffer issue on 1.13+ 64-bit by another making current
|
||||
GLFW.nativeEglMakeCurrent(GLFW.mainContext);
|
||||
if (isUsingRegal) {
|
||||
nativeRegalMakeCurrent();
|
||||
GLFW.nativeEglMakeCurrent(GLFW.mainContext);
|
||||
callPV(callJ(functionProvider.getFunctionAddress("eglGetCurrentContext"), functionProvider.getFunctionAddress("RegalMakeCurrent"));
|
||||
}
|
||||
} else if (System.getenv("RENDERER").contains("zink")) {
|
||||
int[] dims = getNativeWidthHeight();
|
||||
|
||||
Reference in new issue
Block a user