Fix for issue #192

Also: Avoid divide by zero before OpenGL window is up
This commit is contained in:
john.mccutchan
2009-02-10 22:10:21 +00:00
parent d0572bdef7
commit be3260280a
4 changed files with 18 additions and 3 deletions

View File

@@ -130,8 +130,8 @@ inline int btGetVersion()
//non-windows systems
#define SIMD_FORCE_INLINE inline
#define ATTRIBUTE_ALIGNED16(a) a
#define ATTRIBUTE_ALIGNED128(a) a
#define ATTRIBUTE_ALIGNED16(a) a __attribute__ ((aligned (16)))
#define ATTRIBUTE_ALIGNED128(a) a __attribute__ ((aligned (128)))
#ifndef assert
#include <assert.h>
#endif