diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2023-04-25 13:20:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 13:20:46 +0200 |
commit | 53191928e597d15a709b53abe1870b9f3607af1c (patch) | |
tree | 52709714cbd545570754f3f6ab79a7ffc4b65fec /platform/android/java_godot_lib_jni.cpp | |
parent | a91a16e63628c46074ad99acb9880b4552e858de (diff) | |
parent | a37c30dfc92d98d79c4a315c58ecb5b2adabf97a (diff) | |
download | redot-engine-53191928e597d15a709b53abe1870b9f3607af1c.tar.gz |
Merge pull request #76345 from reduz/fix-thread-ids
Fix thread IDs.
Diffstat (limited to 'platform/android/java_godot_lib_jni.cpp')
-rw-r--r-- | platform/android/java_godot_lib_jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp index 1a0087e18d..f32617e674 100644 --- a/platform/android/java_godot_lib_jni.cpp +++ b/platform/android/java_godot_lib_jni.cpp @@ -244,7 +244,7 @@ JNIEXPORT jboolean JNICALL Java_org_godotengine_godot_GodotLib_step(JNIEnv *env, if (step.get() == 0) { // Since Godot is initialized on the UI thread, main_thread_id was set to that thread's id, // but for Godot purposes, the main thread is the one running the game loop - Main::setup2(Thread::get_caller_id()); + Main::setup2(); input_handler = new AndroidInputHandler(); step.increment(); return true; |