Silence more deprecation warnings (#2750)

This commit is contained in:
Ben Doherty
2020-06-30 10:14:57 -07:00
committed by GitHub
parent c0452b5e9d
commit a6872c840c
15 changed files with 96 additions and 35 deletions

View File

@@ -120,7 +120,7 @@ Java_com_google_android_filament_Engine_nDestroyRenderer(JNIEnv*, jclass,
// Camera
extern "C" JNIEXPORT jlong JNICALL
extern "C" [[deprecated]] JNIEXPORT jlong JNICALL
Java_com_google_android_filament_Engine_nCreateCamera(JNIEnv*, jclass,
jlong nativeEngine) {
Engine* engine = (Engine*) nativeEngine;
@@ -143,7 +143,7 @@ Java_com_google_android_filament_Engine_nGetCameraComponent(JNIEnv*, jclass,
return (jlong) engine->getCameraComponent(entity);
}
extern "C" JNIEXPORT void JNICALL
extern "C" [[deprecated]] JNIEXPORT void JNICALL
Java_com_google_android_filament_Engine_nDestroyCamera(JNIEnv*, jclass,
jlong nativeEngine, jlong nativeCamera) {
Engine* engine = (Engine*) nativeEngine;