Hide the ugliness of JNI

This commit is contained in:
Patrick Nicolas
2023-11-26 16:57:51 +01:00
parent 10fa78c21c
commit 31bd160749
4 changed files with 319 additions and 112 deletions
+3 -1
View File
@@ -535,7 +535,9 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
void scenes::stream::video()
{
jni_thread jni;
#ifdef XR_USE_PLATFORM_ANDROID
application::instance().setup_jni();
#endif
while (not exiting)
{