bullet: Don't use sse in api for windows.

Remove stray BT_USE_SSE_IN_API definitions.
Was causing problems especially for 32 bit windows.

It's not quite clear why they were added in the first place since
this should be defined in btScalar.h, needs further investigation.

Thanks to Francisco De La Cruz (xercesblue) for looking into this.

Should fix [#35071] Bullet Convex Hull Crashes on Win32 with SSE
This commit is contained in:
Sergej Reich 2013-05-06 22:53:11 +00:00
parent 88129ac395
commit 424e8b69f1
5 changed files with 15 additions and 15 deletions

@ -13,9 +13,9 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#if defined (_WIN32) || defined (__i386__) //#if defined (_WIN32) || defined (__i386__)
#define BT_USE_SSE_IN_API //#define BT_USE_SSE_IN_API
#endif //#endif
#include "btConvexHullShape.h" #include "btConvexHullShape.h"
#include "BulletCollision/CollisionShapes/btCollisionMargin.h" #include "BulletCollision/CollisionShapes/btCollisionMargin.h"

@ -13,9 +13,9 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#if defined (_WIN32) || defined (__i386__) //#if defined (_WIN32) || defined (__i386__)
#define BT_USE_SSE_IN_API //#define BT_USE_SSE_IN_API
#endif //#endif
#include "btConvexShape.h" #include "btConvexShape.h"
#include "btTriangleShape.h" #include "btTriangleShape.h"

@ -13,9 +13,9 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#if defined (_WIN32) || defined (__i386__) //#if defined (_WIN32) || defined (__i386__)
#define BT_USE_SSE_IN_API //#define BT_USE_SSE_IN_API
#endif //#endif
#include "btMultiSphereShape.h" #include "btMultiSphereShape.h"
#include "BulletCollision/CollisionShapes/btCollisionMargin.h" #include "BulletCollision/CollisionShapes/btCollisionMargin.h"

@ -12,9 +12,9 @@ subject to the following restrictions:
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#if defined (_WIN32) || defined (__i386__) //#if defined (_WIN32) || defined (__i386__)
#define BT_USE_SSE_IN_API //#define BT_USE_SSE_IN_API
#endif //#endif
#include "BulletCollision/CollisionShapes/btPolyhedralConvexShape.h" #include "BulletCollision/CollisionShapes/btPolyhedralConvexShape.h"
#include "btConvexPolyhedron.h" #include "btConvexPolyhedron.h"

@ -15,9 +15,9 @@
This source version has been altered. This source version has been altered.
*/ */
#if defined (_WIN32) || defined (__i386__) //#if defined (_WIN32) || defined (__i386__)
#define BT_USE_SSE_IN_API //#define BT_USE_SSE_IN_API
#endif //#endif
#include "btVector3.h" #include "btVector3.h"