Use Win32 runtime binding for thread control

This commit is contained in:
2026-06-17 11:41:51 +02:00
parent 9602196e99
commit a1031b3af1
4 changed files with 18 additions and 4 deletions

View File

@@ -30,9 +30,11 @@ void register_touch_window(HWND hWnd)
void initialize_runtime_threads()
{
auto* app = bound_app();
auto* runtime = retained_bound_runtime();
assert(runtime);
mark_lifecycle_running();
app->runtime().render_thread_start(*app);
app->runtime().ui_thread_start(*app);
runtime->render_thread_start(*app);
runtime->ui_thread_start(*app);
}
void install_debug_gl_callbacks()