mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
pipeline: Fix Thread::bind_thread() assertion on Android
This commit is contained in:
parent
3d31f117e0
commit
98d70147bd
@ -337,7 +337,7 @@ root_func(void *data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by get_current_thread() if the current therad pointer is null; checks
|
* Called by get_current_thread() if the current thread pointer is null; checks
|
||||||
* whether it might be the main thread.
|
* whether it might be the main thread.
|
||||||
*/
|
*/
|
||||||
Thread *ThreadPosixImpl::
|
Thread *ThreadPosixImpl::
|
||||||
@ -347,7 +347,6 @@ init_current_thread() {
|
|||||||
thread = Thread::get_main_thread();
|
thread = Thread::get_main_thread();
|
||||||
_current_thread = thread;
|
_current_thread = thread;
|
||||||
}
|
}
|
||||||
nassertr(thread != nullptr, nullptr);
|
|
||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user