- bullet native: add fix for android compilation of native

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8402 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent b5af58df86
commit 3dfe94f84b
  1. 6
      engine/src/bullet/native/jmePhysicsSpace.cpp

@ -49,7 +49,11 @@ jmePhysicsSpace::jmePhysicsSpace(JNIEnv* env, jobject javaSpace) {
}
void jmePhysicsSpace::attachThread() {
vm->AttachCurrentThread((void **) &env, NULL);
#ifdef JNI_VERSION_1_2
vm->AttachCurrentThread((void**) &env, NULL);
#else
vm->AttachCurrentThread(vm, &env, NULL);
#endif
}
JNIEnv* jmePhysicsSpace::getEnv() {

Loading…
Cancel
Save