Remove HARD Fence public API

This API will be hard to implement on all backends (e.g. Vulkan) and
isn't that useful other than for timing.
This commit is contained in:
Mathias Agopian
2019-09-20 15:05:46 -07:00
committed by Mathias Agopian
parent 0cebbfca23
commit b81ff060ae
13 changed files with 25 additions and 44 deletions

View File

@@ -154,9 +154,9 @@ Java_com_google_android_filament_Engine_nDestroyScene(JNIEnv*, jclass,
extern "C" JNIEXPORT jlong JNICALL
Java_com_google_android_filament_Engine_nCreateFence(JNIEnv*, jclass,
jlong nativeEngine, jint fenceType) {
jlong nativeEngine) {
Engine* engine = (Engine*) nativeEngine;
return (jlong) engine->createFence((Fence::Type) fenceType);
return (jlong) engine->createFence();
}
extern "C" JNIEXPORT void JNICALL