You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Enhance portability of threading
This commit is contained in:
@@ -63,7 +63,7 @@ static void term_thread() {
|
||||
void init_thread_jandroid(JavaVM *p_jvm, JNIEnv *p_env) {
|
||||
java_vm = p_jvm;
|
||||
env = p_env;
|
||||
Thread::_set_platform_funcs(nullptr, nullptr, &init_thread, &term_thread);
|
||||
Thread::_set_platform_functions({ .init = init_thread, .term = &term_thread });
|
||||
}
|
||||
|
||||
void setup_android_thread() {
|
||||
|
||||
Reference in New Issue
Block a user