fix glsl float interpolation, fix layers on ui reload, add vr thread for Quest

This commit is contained in:
2019-07-30 22:10:48 +02:00
parent f2d2ef1067
commit 945028f171
12 changed files with 95 additions and 40 deletions

View File

@@ -826,6 +826,7 @@ void App::ui_thread_main()
android_attach_jni();
#endif
LOG("ui thread init()");
init();
auto t_start = std::chrono::high_resolution_clock::now();
@@ -921,6 +922,7 @@ void App::ui_thread_main()
void App::render_thread_start()
{
render_thread = std::thread(&App::render_thread_main, this);
render_running = true;
}
void App::render_thread_stop()
@@ -934,6 +936,7 @@ void App::render_thread_stop()
void App::ui_thread_start()
{
ui_thread = std::thread(&App::ui_thread_main, this);
ui_running = true;
}
void App::ui_thread_stop()