mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 17:15:40 -04:00
Another fix
This commit is contained in:
parent
5fed6177ac
commit
81336fb4da
@ -10,6 +10,7 @@
|
|||||||
* - Implements glfwSetCursorPos() to handle grab camera pos correctly.
|
* - Implements glfwSetCursorPos() to handle grab camera pos correctly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
@ -200,7 +201,7 @@ JNIEXPORT jstring JNICALL Java_org_lwjgl_glfw_CallbackBridge_nativeClipboard(JNI
|
|||||||
|
|
||||||
LOGD("Clipboard: Calling 2nd\n");
|
LOGD("Clipboard: Calling 2nd\n");
|
||||||
jstring pasteDst = convertStringJVM(dalvikEnv, env, (jstring) (*dalvikEnv)->CallStaticObjectMethod(dalvikEnv, bridgeClazz, bridgeMethod, action, copyDst));
|
jstring pasteDst = convertStringJVM(dalvikEnv, env, (jstring) (*dalvikEnv)->CallStaticObjectMethod(dalvikEnv, bridgeClazz, bridgeMethod, action, copyDst));
|
||||||
dalvikJavaVMPtr->DetachCurrentThread(dalvikJavaVMPtr);
|
(*dalvikJavaVMPtr)->DetachCurrentThread(dalvikJavaVMPtr);
|
||||||
return pasteDst;
|
return pasteDst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user