Engine.flushAndWait() is not needed in most places

This commit is contained in:
Mathias Agopian
2019-10-03 15:12:10 -07:00
committed by Mathias Agopian
parent c8af3226de
commit 20c3d45b9c
27 changed files with 36 additions and 51 deletions

View File

@@ -252,6 +252,13 @@ Java_com_google_android_filament_Engine_nDestroyEntity(JNIEnv*, jclass,
engine->destroy(entity);
}
extern "C" JNIEXPORT void JNICALL
Java_com_google_android_filament_Engine_nFlushAndWait(JNIEnv *env, jclass clazz,
jlong nativeEngine) {
Engine* engine = (Engine*) nativeEngine;
engine->flushAndWait();
}
// Managers...
extern "C" JNIEXPORT jlong JNICALL