Pre-initialize ES2 and GL4ES
This commit is contained in:
1 parent
9d967e3b74
commit
ee3624706f
2 files changed
+13
-6
No files matched your search
@@ -338,7 +338,7 @@ public final class GL {
|
||||
@SuppressWarnings("AssignmentToMethodParameter")
|
||||
public static GLCapabilities createCapabilities(boolean forwardCompatible) {
|
||||
// This fixed framebuffer issue on 1.13+ 64-bit by another making current
|
||||
GLFW.nativeEglMakeCurrent(1);
|
||||
// GLFW.nativeEglMakeCurrent(1);
|
||||
|
||||
// System.setProperty("glfwstub.internal.glthreadid", Long.toString(Thread.currentThread().getId()));
|
||||
|
||||
@@ -346,13 +346,13 @@ public final class GL {
|
||||
if (functionProvider == null) {
|
||||
throw new IllegalStateException("OpenGL library has not been loaded.");
|
||||
}
|
||||
|
||||
/*
|
||||
long GL4ESInit = functionProvider.getFunctionAddress("initialize_gl4es");
|
||||
if (GL4ESInit == NULL) {
|
||||
throw new IllegalStateException("initialize_gl4es() could not be found. Make sure that the OpenGL library is GL4ES.");
|
||||
}
|
||||
callV(GL4ESInit);
|
||||
|
||||
*/
|
||||
GLCapabilities caps = null;
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user