mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 14:51:51 -04:00
[Mod installer] fixit
This commit is contained in:
parent
d00035d645
commit
2f9ca45270
@ -11,9 +11,11 @@
|
||||
// int printed = 0;
|
||||
JNIEXPORT jboolean JNICALL Java_net_kdt_pojavlaunch_JREUtils_renderAWTScreenFrame(JNIEnv* env, jclass clazz, jobject canvas, jint width, jint height) {
|
||||
if (runtimeJNIEnvPtr_ANDROID == NULL) {
|
||||
isUseStackQueueCall = true;
|
||||
attachThread(true, &runtimeJNIEnvPtr_ANDROID);
|
||||
// return JNI_FALSE;
|
||||
if (runtimeJavaVMPtr == NULL) {
|
||||
return JNI_FALSE;
|
||||
} else {
|
||||
(*runtimeJavaVMPtr)->AttachCurrentThread(runtimeJavaVMPtr, &runtimeJNIEnvPtr_ANDROID, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
int *rgbArray;
|
||||
|
Loading…
x
Reference in New Issue
Block a user