Update GLFW.java

This commit is contained in:
Duy Tran Khanh 2021-07-07 15:39:38 +07:00 committed by GitHub
parent 3bb19ff593
commit eb41f38a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,11 +960,8 @@ public class GLFW
} }
public static void glfwMakeContextCurrent(long window) { public static void glfwMakeContextCurrent(long window) {
//Probably not the best idea to rely on program's internals to share the contexts... //Probably not the best idea to rely on program's internals to share the contexts
try{ new Exception("Trace exception").printStackTrace();
throw new Exception("Trace exception");
}catch(Exception e) {
e.printStackTrace();
} }
nativeEglMakeCurrent(window); nativeEglMakeCurrent(window);
System.out.println(Long.toString(nativeEglGetCurrentContext(),16)); System.out.println(Long.toString(nativeEglGetCurrentContext(),16));