From b16f2515301d2c5fe03b1239cc10a06d4373ca54 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Wed, 5 Aug 2009 01:10:46 +0000 Subject: [PATCH] Initialize m_maxNumTasks, it is required by the spubullet-2.75 for PLAYSTATION 3. --- src/BulletMultiThreaded/Win32ThreadSupport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BulletMultiThreaded/Win32ThreadSupport.cpp b/src/BulletMultiThreaded/Win32ThreadSupport.cpp index 95363c158..32bfbac3e 100644 --- a/src/BulletMultiThreaded/Win32ThreadSupport.cpp +++ b/src/BulletMultiThreaded/Win32ThreadSupport.cpp @@ -32,6 +32,7 @@ subject to the following restrictions: ///Setup and initialize SPU/CELL/Libspe2 Win32ThreadSupport::Win32ThreadSupport(const Win32ThreadConstructionInfo & threadConstructionInfo) { + m_maxNumTasks = threadConstructionInfo.m_numThreads; startThreads(threadConstructionInfo); }