Engine::unprotected() drops the command queue back to unprotected mode

FIXES=[344021154]
This commit is contained in:
Mathias Agopian
2024-06-03 13:55:01 -07:00
committed by Mathias Agopian
parent 749b063af3
commit b5d7de06bc
7 changed files with 46 additions and 0 deletions

View File

@@ -420,6 +420,13 @@ Java_com_google_android_filament_Engine_nSetPaused(JNIEnv*, jclass,
engine->setPaused(paused);
}
extern "C" JNIEXPORT void JNICALL
Java_com_google_android_filament_Engine_nUnprotected(JNIEnv*, jclass,
jlong nativeEngine, jboolean paused) {
Engine* engine = (Engine*) nativeEngine;
engine->unprotected();
}
// Managers...
extern "C" JNIEXPORT jlong JNICALL