mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
pipeline: don't use uninitialized value for main thread unique id
See #554
This commit is contained in:
parent
b75982a610
commit
f97ba9000b
@ -58,6 +58,7 @@ ThreadPosixImpl::
|
|||||||
void ThreadPosixImpl::
|
void ThreadPosixImpl::
|
||||||
setup_main_thread() {
|
setup_main_thread() {
|
||||||
_status = S_running;
|
_status = S_running;
|
||||||
|
_thread = pthread_self();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user