fix jni Scene.getEntities
we were using the version of ReleaseIntArrayElements that doesn't always keep changes to the array.
This commit is contained in:
committed by
Mathias Agopian
parent
164d7507bb
commit
d9ee526a72
@@ -205,7 +205,7 @@ Java_com_google_android_filament_MaterialInstance_nSetIntParameterArray(JNIEnv *
|
||||
break;
|
||||
}
|
||||
|
||||
env->ReleaseIntArrayElements(v_, v, 0);
|
||||
env->ReleaseIntArrayElements(v_, v, JNI_ABORT);
|
||||
|
||||
env->ReleaseStringUTFChars(name_, name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user