You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix thread_process_array when NO_THREADS.
(cherry picked from commit dfbeb5ae29)
This commit is contained in:
committed by
Rémi Verschelde
parent
e3664e971b
commit
9084e2e85b
@@ -97,7 +97,7 @@ void thread_process_array(uint32_t p_elements, C *p_instance, M p_method, U p_us
|
|||||||
data.method = p_method;
|
data.method = p_method;
|
||||||
data.instance = p_instance;
|
data.instance = p_instance;
|
||||||
data.userdata = p_userdata;
|
data.userdata = p_userdata;
|
||||||
data.index = 0;
|
data.index.set(0);
|
||||||
data.elements = p_elements;
|
data.elements = p_elements;
|
||||||
for (uint32_t i = 0; i < p_elements; i++) {
|
for (uint32_t i = 0; i < p_elements; i++) {
|
||||||
data.process(i);
|
data.process(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user