mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Fixes issues with MacOSX.
- Fixes compiler errors with mismatching types in DoomController.mm - Adds PPC_INTRINSICS fix to Simd_Altivec.h
This commit is contained in:
parent
16657c0ce3
commit
a385bbeb29
1 changed files with 3 additions and 1 deletions
|
@ -95,7 +95,9 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
// This turns on support for PPC intrinsics in the SIMD_AltiVec.cpp file. Right now it's only used for frsqrte. GCC
|
||||
// supports these intrinsics but XLC does not.
|
||||
#define PPC_INTRINSICS
|
||||
#if defined(__GNUC__) && defined(__ALTIVEC__)
|
||||
#define PPC_INTRINSICS
|
||||
#endif
|
||||
|
||||
// This assumes that the idDrawVert array that is used in DeriveUnsmoothedTangents is aligned. If its not aligned,
|
||||
// then we don't get any speedup
|
||||
|
|
Loading…
Reference in a new issue