mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-18 05:36:09 +00:00
parallel solver: small tweaks and fixes
This commit is contained in:
@@ -267,8 +267,8 @@ DWORD WINAPI win32threadStartFunc( LPVOID lpParam )
|
||||
void btThreadSupportWin32::runTask( int threadIndex, void* userData )
|
||||
{
|
||||
btThreadStatus& threadStatus = m_activeThreadStatus[ threadIndex ];
|
||||
btAssert( taskId >= 0 );
|
||||
btAssert( int( taskId ) < m_activeThreadStatus.size() );
|
||||
btAssert( threadIndex >= 0 );
|
||||
btAssert( int( threadIndex ) < m_activeThreadStatus.size() );
|
||||
|
||||
threadStatus.m_commandId = 1;
|
||||
threadStatus.m_status = 1;
|
||||
|
||||
Reference in New Issue
Block a user