mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Update egl_bridge.c
This commit is contained in:
parent
0602739102
commit
89d01cd1ff
@ -203,7 +203,7 @@ Java_org_lwjgl_glfw_GLFW_nativeEglCreateContext(JNIEnv *env, jclass clazz, jlong
|
||||
};
|
||||
EGLContext* ctx = eglCreateContext(potatoBridge.eglDisplay, config, (void*)contextSrc, ctx_attribs);
|
||||
|
||||
if (potatoBridge.eglContext == NULL) potatoBridge.eglContext = ctx;
|
||||
potatoBridge.eglContext = ctx;
|
||||
|
||||
printf("EGLBridge: Created CTX pointer = %p\n",ctx);
|
||||
//(*env)->ThrowNew(env,(*env)->FindClass(env,"java/lang/Exception"),"Trace exception");
|
||||
|
Loading…
x
Reference in New Issue
Block a user